685ea4a36162a0bca9b0176b268c25e45023e97e

Author
mrbfrank <mrbfrank@gmail.com>
Committer
mrbfrank <mrbfrank@gmail.com>
Date

Message

theme agnoster: remove trailing space

re-implemented expired pull request https://github.com/robbyrussell/oh-my-zsh/pull/1759

Diff

 1diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
 2index a5c47f9b57ca3d3477cdfcf90b9ecaa19dcc27c8..85b846cb5bd9156b24cb57f7d0b05084af8339ea 100644
 3--- a/themes/agnoster.zsh-theme
 4+++ b/themes/agnoster.zsh-theme
 5@@ -88,9 +88,9 @@ prompt_git() {
 6     zstyle ':vcs_info:*' stagedstr '✚'
 7     zstyle ':vcs_info:git:*' unstagedstr '●'
 8     zstyle ':vcs_info:*' formats ' %u%c'
 9-    zstyle ':vcs_info:*' actionformats '%u%c'
10+    zstyle ':vcs_info:*' actionformats ' %u%c'
11     vcs_info
12-    echo -n "${ref/refs\/heads\// }${vcs_info_msg_0_}"
13+    echo -n "${ref/refs\/heads\// }${vcs_info_msg_0_%% }"
14   fi
15 }
16