From c3dac57fa16ccff62895ecab67f977149e0662e2 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Thu, 25 Apr 2013 10:45:07 +0200 Subject: [PATCH] theme agnoster: remove trailing space if there is no change in repository and nether dot nor plus are show --- themes/agnoster.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index a9de8c84e..1904c08dc 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -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 }