From: Simon Ruderich Date: Thu, 11 Mar 2010 15:25:06 +0000 (+0100) Subject: zsh/rc: Also display staged/unstaged changes in actionformats. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=e14fdad4020ee138816bafc1e17534be8cf6b22b;p=config%2Fdotfiles.git zsh/rc: Also display staged/unstaged changes in actionformats. --- diff --git a/zsh/rc b/zsh/rc index 26bee55..caa9c5f 100644 --- 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