summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2018-01-04 23:47:58 +0000
committerSven Wegener <swegener@gentoo.org>2018-01-04 23:48:15 +0000
commitf0ad1ef0c4826494a4c8bd00fefd4d55931359fc (patch)
tree7538ab521ade31039f37bce5e9f50645cb9ebc84
parentapp-misc/screen: Fix building on uclibc, bug #562752 (diff)
downloadgentoo-f0ad1ef0c4826494a4c8bd00fefd4d55931359fc.tar.gz
gentoo-f0ad1ef0c4826494a4c8bd00fefd4d55931359fc.tar.bz2
gentoo-f0ad1ef0c4826494a4c8bd00fefd4d55931359fc.zip
app-shells/bash: Remove redundant code in bashrc, bug #625304
Closes: https://bugs.gentoo.org/625304 Package-Manager: Portage-2.3.14, Repoman-2.3.6
-rw-r--r--app-shells/bash/files/bashrc8
1 files changed, 2 insertions, 6 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index 03694691d4a..8d9c29738b6 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -97,12 +97,8 @@ if ${use_color} ; then
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
else
- if [[ ${EUID} == 0 ]] ; then
- # show root@ when we don't have colors
- PS1+='\u@\h \w \$ '
- else
- PS1+='\u@\h \w \$ '
- fi
+ # show root@ when we don't have colors
+ PS1+='\u@\h \w \$ '
fi
for sh in /etc/bash/bashrc.d/* ; do