zsh: truncate branch name in vcs_info prompt
This commit is contained in:
parent
1ba2eef66b
commit
64e7b1bad6
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.zshrc
|
@ -200,7 +200,7 @@ chpwd_functions+=vcs_info
|
|||
precmd_functions+=vcs_info
|
||||
|
||||
zstyle ':vcs_info:git:*' check-for-changes true
|
||||
zstyle ':vcs_info:git:*' formats '%F{#559955} %b%u%c%f '
|
||||
zstyle ':vcs_info:git:*' formats '%F{#559955} %1.25b%u%c%f '
|
||||
zstyle ':vcs_info:*' unstagedstr ' %F{#ff0}'
|
||||
zstyle ':vcs_info:*' stagedstr ' %F{#9ff}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue