Fix themes to work with really-local locals.

Fix quoting issue in theme debugging code.
This commit is contained in:
Andrew Janke 2015-04-03 17:52:42 -04:00
commit a352b1d43c
25 changed files with 41 additions and 57 deletions

View file

@ -2,9 +2,9 @@
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}"
local host_color="green"
host_color="green"
if [ -n "$SSH_CLIENT" ]; then
local host_color="red"
host_color="red"
fi
PROMPT='
@ -12,7 +12,7 @@ PROMPT='
%{$fg_bold[cyan]%}%{$reset_color%} '
RPROMPT='${return_status}%{$reset_color%}'
RPROMPT=${return_status}'%{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[grey]%}(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"