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:
03f5f4f
)
zshrc: Use vcs_info data for GRMLPROMPT > 0, too
author
Frank Terbeck
<ft@bewatermyfriend.org>
Mon, 3 Aug 2009 14:24:56 +0000
(16:24 +0200)
committer
Frank Terbeck
<ft@bewatermyfriend.org>
Mon, 3 Aug 2009 14:24:56 +0000
(16:24 +0200)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
c1a619f
..
c6e0eca
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-2156,7
+2156,7
@@
else
# set variable identifying the chroot you work in (used in the prompt below)
if [[ $GRMLPROMPT -gt 0 ]] ; then
PROMPT="${RED}${EXITCODE}${CYAN}[%j running job(s)] ${GREEN}{history#%!} ${RED}%(3L.+.) ${BLUE}%* %D
-${BLUE}%n${NO_COLOUR}@%m %40<...<%B%~%b%<< %# "
+${BLUE}%n${NO_COLOUR}@%m %40<...<%B%~%b%<<
"'${VCS_INFO_message_0_}'"
%# "
else
# This assembles the primary prompt string
if (( EUID != 0 )); then