55fed4f8cdfcf7791fd22b28ef65b00dcc9e1a5f
Author L.C. Karssen <lennart@karssen.org> Committer L.C. Karssen <lennart@karssen.org> Date 2016-03-07 21:15 UTC
Message Fix use of CARETCOLOR in avit theme
$CARETCOLOR was not to actually colour the caret, so change to root user
wouldn't show in the prompt. Now both ▶ and ◀ follow $CARETCOLOR.
Diff 1 diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme
2 index 54cb357d51ac26eb693fdfbea351725b90e7ff3e..87d5be30a9593b02e848e5ecd77fd457be1c5e58 100644
3 --- a/themes/avit.zsh-theme
4 +++ b/themes/avit.zsh-theme
5 @@ -1,7 +1,7 @@
6 # AVIT ZSH Theme
7
8 PROMPT='
9 -$(_user_host)$(_current_dir) $(git_prompt_info) $(_ruby_version)
10 +$(_user_host)${_current_dir} $(git_prompt_info) $(_ruby_version)
11 %{$fg[$CARETCOLOR]%}▶%{$resetcolor%} '
12
13 PROMPT2='%{$fg[$CARETCOLOR]%}◀%{$reset_color%} '