zshrc: oops, renamed styles; use the new ones
authorFrank Terbeck <ft@grml.org>
Sat, 6 Sep 2008 00:00:10 +0000 (02:00 +0200)
committerFrank Terbeck <ft@grml.org>
Sat, 6 Sep 2008 00:00:10 +0000 (02:00 +0200)
etc/zsh/zshrc

index 899cc33..b368970 100644 (file)
@@ -1607,12 +1607,12 @@ typeset -gx VCS_INFO_message_=''
 
 # change vcs_info formats for the grml prompt
 if [[ "$TERM" == dumb ]] ; then
-    zstyle ':vcs_info:*' promptactionformat "(%s%)-[%b|%a] "
-    zstyle ':vcs_info:*' promptformat       "(%s%)-[%b] "
+    zstyle ':vcs_info:*' actionformat "(%s%)-[%b|%a] "
+    zstyle ':vcs_info:*' format       "(%s%)-[%b] "
 else
     # these are the same, just with a lot of colours:
-    zstyle ':vcs_info:*' promptactionformat "${MAGENTA}(${NO_COLOUR}%s${MAGENTA})${YELLOW}-${MAGENTA}[${GREEN}%b${YELLOW}|${RED}%a${MAGENTA}]${NO_COLOUR} "
-    zstyle ':vcs_info:*' promptformat       "${MAGENTA}(${NO_COLOUR}%s${MAGENTA})${YELLOW}-${MAGENTA}[${GREEN}%b${MAGENTA}]${NO_COLOUR}%} "
+    zstyle ':vcs_info:*' actionformat "${MAGENTA}(${NO_COLOUR}%s${MAGENTA})${YELLOW}-${MAGENTA}[${GREEN}%b${YELLOW}|${RED}%a${MAGENTA}]${NO_COLOUR} "
+    zstyle ':vcs_info:*' format       "${MAGENTA}(${NO_COLOUR}%s${MAGENTA})${YELLOW}-${MAGENTA}[${GREEN}%b${MAGENTA}]${NO_COLOUR}%} "
     zstyle ':vcs_info:(sv[nk]|bzr)' branchformat "%b${YELLOW}:%r"
 fi