mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
Simon Ruderich: 27953: vcs_info: changed default formats and actionformats.
This commit is contained in:
parent
9773e56418
commit
88ea63adf2
4 changed files with 9 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue