mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
theme agnoster: remove trailing space if there is no change in repository and nether dot nor plus are show
This commit is contained in:
parent
b6ea876971
commit
c3dac57fa1
1 changed files with 2 additions and 2 deletions
|
|
@ -88,9 +88,9 @@ prompt_git() {
|
|||
zstyle ':vcs_info:*' stagedstr '✚'
|
||||
zstyle ':vcs_info:git:*' unstagedstr '●'
|
||||
zstyle ':vcs_info:*' formats ' %u%c'
|
||||
zstyle ':vcs_info:*' actionformats '%u%c'
|
||||
zstyle ':vcs_info:*' actionformats ' %u%c'
|
||||
vcs_info
|
||||
echo -n "${ref/refs\/heads\//⭠ }${vcs_info_msg_0_}"
|
||||
echo -n "${ref/refs\/heads\//⭠ }${vcs_info_msg_0_%% }"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue