projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
316eaeb
)
zshrc: Enable the grml prompt theme via promptsys
author
Frank Terbeck
<ft@grml.org>
Tue, 5 Mar 2013 01:13:31 +0000
(
02:13
+0100)
committer
Frank Terbeck
<ft@grml.org>
Tue, 5 Mar 2013 17:22:00 +0000
(18:22 +0100)
Signed-off-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
4fa913e
..
01107c0
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-1549,6
+1549,8
@@
if zrcautoload promptinit && promptinit 2>/dev/null ; then
elif (( EUID == 0 )); then
zstyle ':prompt:grml(|-large|-chroot):*:items:user' pre '%F{red}'
fi
elif (( EUID == 0 )); then
zstyle ':prompt:grml(|-large|-chroot):*:items:user' pre '%F{red}'
fi
+
+ prompt grml
else
print 'Notice: no promptinit available :('
fi
else
print 'Notice: no promptinit available :('
fi