projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f7f30
)
app-shells/bash: Remove redundant code in bashrc, bug #625304
author
Sven Wegener
<swegener@gentoo.org>
Thu, 4 Jan 2018 23:47:58 +0000
(23:47 +0000)
committer
Sven Wegener
<swegener@gentoo.org>
Thu, 4 Jan 2018 23:48:15 +0000
(23:48 +0000)
Closes: https://bugs.gentoo.org/625304
Package-Manager: Portage-2.3.14, Repoman-2.3.6
app-shells/bash/files/bashrc
patch
|
blob
|
history
diff --git
a/app-shells/bash/files/bashrc
b/app-shells/bash/files/bashrc
index 03694691d4a7230bd1510d79eba418169a876724..8d9c29738b62546475382808404b1da782df3651 100644
(file)
--- 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