Fix right rprompt.

This commit is contained in:
Blake Taylor 2012-03-05 09:42:23 -08:00
commit dfdb3c1f7b

View file

@ -8,6 +8,6 @@ ZSH_THEME_GIT_PROMPT_CLEAN=""
PROMPT='%~%{$reset_color%}$(git_prompt_info) ★ %{$reset_color%}'
if which rbenv &> /dev/null; then
local ruby="%{$fg[blue]%}$(rbenv version | cut -d " " -f 1 | sed "s/-/ /g")%{$reset_color%}"
local ruby='%{$fg[blue]%}$(rbenv version | cut -d " " -f 1 | sed "s/-/ /g")%{$reset_color%}'
fi
RPROMPT='%(?..%{$fg[white]%}%?%{$fg[red]%}⚡)%{$reset_color%} $ruby'
RPROMPT="%(?..%{$fg[white]%}%?%{$fg[red]%}⚡)%{$reset_color%} ${ruby}"