Not a fan of variable substitution. Grr.

This commit is contained in:
James Walker 2012-06-16 18:08:29 -04:00
parent f15a0cb570
commit aad590ae7c

View File

@ -3,7 +3,7 @@
if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:%c \
PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:%C \
$(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='${return_code}'