diff options
author | Frank Terbeck <bewater@users.sourceforge.net> | 2010-05-14 07:58:37 +0000 |
---|---|---|
committer | Frank Terbeck <bewater@users.sourceforge.net> | 2010-05-14 07:58:37 +0000 |
commit | 88ea63adf28be522d2341c57e4e049ff04aaf7fd (patch) | |
tree | 275c93d814ca878635680499c4d65cf8ec4a1114 /Functions | |
parent | 9773e5641889117a5e6b6a9f96b61988792b44ee (diff) | |
download | zsh-88ea63adf28be522d2341c57e4e049ff04aaf7fd.tar.gz zsh-88ea63adf28be522d2341c57e4e049ff04aaf7fd.tar.xz zsh-88ea63adf28be522d2341c57e4e049ff04aaf7fd.zip |
Simon Ruderich: 27953: vcs_info: changed default formats and actionformats.
Diffstat (limited to 'Functions')
-rw-r--r-- | Functions/VCS_Info/VCS_INFO_formats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_formats b/Functions/VCS_Info/VCS_INFO_formats index 469efa7d4..138091944 100644 --- a/Functions/VCS_Info/VCS_INFO_formats +++ b/Functions/VCS_Info/VCS_INFO_formats @@ -51,10 +51,10 @@ VCS_INFO_hook 'post-backend' if [[ -n ${hook_com[action]} ]] ; then zstyle -a ":vcs_info:${vcs}:${usercontext}:${rrn}" actionformats msgs - (( ${#msgs} < 1 )) && msgs[1]=' (%s)-[%b|%a]-' + (( ${#msgs} < 1 )) && msgs[1]=' (%s)-[%b|%a]%u%c-' else zstyle -a ":vcs_info:${vcs}:${usercontext}:${rrn}" formats msgs - (( ${#msgs} < 1 )) && msgs[1]=' (%s)-[%b]-' + (( ${#msgs} < 1 )) && msgs[1]=' (%s)-[%b]%u%c-' fi if [[ -n ${hook_com[staged]} ]] ; then |