projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
zshrc: New prompt: Fix wrong logic for user name colouring
[grml-etc-core.git]
/
etc
/
zsh
/
zshrc
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
cfb1b97
..
4fa913e
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-1546,7
+1546,7
@@
if zrcautoload promptinit && promptinit 2>/dev/null ; then
done
unset i
zstyle ':prompt:grml(|-large|-chroot):right:setup' use-rprompt false
- elif (( EUID
!
= 0 )); then
+ elif (( EUID
=
= 0 )); then
zstyle ':prompt:grml(|-large|-chroot):*:items:user' pre '%F{red}'
fi
else