From ffd00974a055165acbe224a1ad2bfe72a0a50729 Mon Sep 17 00:00:00 2001 From: alexg0 Date: Wed, 16 Dec 2009 23:07:55 -0600 Subject: [PATCH] remove extra space if not in git --- themes/alexg.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/alexg.zsh-theme b/themes/alexg.zsh-theme index cbff195c2..6f4a4bd61 100644 --- a/themes/alexg.zsh-theme +++ b/themes/alexg.zsh-theme @@ -8,7 +8,7 @@ local return_code="%(?,,%{$fg[red]%}%? ↵%{$reset_color%})" local prompt_char="%B%(!,#,»)%b" local who_where="%(!,%{$fg[magenta]%}%n@%m,%{$fg[blue]%}%m)%{$reset_color%}" -PROMPT='$(git_prompt_info abbr) $who_where %{$fg[cyan]%}%2~ %{$reset_color%}$prompt_char ' +PROMPT='$(git_prompt_info abbr)%1(l, ,)$who_where %{$fg[cyan]%}%2~ %{$reset_color%}$prompt_char ' RPS1="${return_code}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}‹"