diff options
author | Sven Wegener <swegener@gentoo.org> | 2018-01-04 23:47:58 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2018-01-04 23:48:15 +0000 |
commit | f0ad1ef0c4826494a4c8bd00fefd4d55931359fc (patch) | |
tree | 7538ab521ade31039f37bce5e9f50645cb9ebc84 /app-shells/bash/files/bashrc | |
parent | app-misc/screen: Fix building on uclibc, bug #562752 (diff) | |
download | gentoo-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
Diffstat (limited to 'app-shells/bash/files/bashrc')
-rw-r--r-- | app-shells/bash/files/bashrc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc index 03694691d4a7..8d9c29738b62 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 |