Not a fan of variable substitution. Grr.
This commit is contained in:
parent
f15a0cb570
commit
aad590ae7c
@ -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}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user