projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27d9c70
)
Revert "app-shells/bash: show full cwd for root user"
author
Jason A. Donenfeld
<zx2c4@gentoo.org>
Sat, 10 Jun 2017 03:07:18 +0000
(
05:07
+0200)
committer
Jason A. Donenfeld
<zx2c4@gentoo.org>
Sat, 10 Jun 2017 03:07:18 +0000
(
05:07
+0200)
YIKES! I did not mean to actually push this, just send it to the mailing
list. Apologies.
This reverts commit
1db68b96bcedd3ace96a31729cbdc17c71afdb86
.
app-shells/bash/files/bashrc
patch
|
blob
|
history
diff --git
a/app-shells/bash/files/bashrc
b/app-shells/bash/files/bashrc
index 03694691d4a7230bd1510d79eba418169a876724..6db6966819560701dd06f684f2b29259eea6f212 100644
(file)
--- a/
app-shells/bash/files/bashrc
+++ b/
app-shells/bash/files/bashrc
@@
-86,7
+86,7
@@
fi
if ${use_color} ; then
if [[ ${EUID} == 0 ]] ; then
- PS1+='\[\033[01;31m\]\h\[\033[01;34m\] \
w
\$\[\033[00m\] '
+ PS1+='\[\033[01;31m\]\h\[\033[01;34m\] \
W
\$\[\033[00m\] '
else
PS1+='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi
@@
-99,7
+99,7
@@
if ${use_color} ; then
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we don't have colors
- PS1+='\u@\h \
w
\$ '
+ PS1+='\u@\h \
W
\$ '
else
PS1+='\u@\h \w \$ '
fi