From: Sven Wegener Date: Thu, 4 Jan 2018 23:47:58 +0000 (+0000) Subject: app-shells/bash: Remove redundant code in bashrc, bug #625304 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f0ad1ef0c4826494a4c8bd00fefd4d55931359fc;p=gentoo.git 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 --- 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