ref vcs status
This commit is contained in:
parent
69295b0cf4
commit
d0453190d9
@ -32,14 +32,15 @@ zstyle ':vcs_info:*' enable git cvs svn
|
||||
zstyle ':vcs_info:*' check-for-changes true
|
||||
zstyle ':vcs_info:*' unstagedstr '!'
|
||||
zstyle ':vcs_info:*' stagedstr '+'
|
||||
|
||||
precmd() { vcs_info }
|
||||
|
||||
zstyle ':vcs_info:*' actionformats \
|
||||
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]-[%u%c]%f '
|
||||
'%F{5}(%f%s%F{5})%F{3}-%u%c-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
|
||||
zstyle ':vcs_info:*' formats \
|
||||
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]-[%u%c]%f '
|
||||
'%F{5}(%f%s%F{5})%F{3}-%u%c-%F{5}[%F{2}%b%F{5}]%f '
|
||||
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
|
||||
|
||||
zstyle ':vcs_info:*' enable git cvs svn
|
||||
|
||||
|
||||
# or use pre_cmd, see man zshcontrib
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user