]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh/rc: Also display staged/unstaged changes in actionformats.
authorSimon Ruderich <simon@ruderich.org>
Thu, 11 Mar 2010 15:25:06 +0000 (16:25 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 11 Mar 2010 15:25:06 +0000 (16:25 +0100)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index 26bee55170432a7d1feec4a122c3385cd815251c..caa9c5f2f28e78f42ed2690467264ca1695aff94 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -171,7 +171,7 @@ if [[ $ZSH_VERSION == (4.3.<9->|4.<4->*|<5->*) ||
     zstyle ':vcs_info:*' formats \
         "($green%b%u%c$default:$blue%s$default)"
     zstyle ':vcs_info:*' actionformats \
-        "($green%b$default/$red%a$default:$blue%s$default)"
+        "($green%b%u%c$default/$red%a$default:$blue%s$default)"
     # Set style for formats/actionformats when unstaged (%u) and staged (%c)
     # changes are detected in the repository; check-for-changes must be set to
     # true for this to work. Thanks to Bart Trojanowski