Skip to content

Commit

Permalink
Fix use of CARETCOLOR in avit theme
Browse files Browse the repository at this point in the history
$CARETCOLOR was not to actually colour the caret, so change to root user
wouldn't show in the prompt. Now both ▶ and ◀ follow $CARETCOLOR.
  • Loading branch information
lckarssen committed Mar 7, 2016
1 parent 9c36248 commit 55fed4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/avit.zsh-theme
@@ -1,7 +1,7 @@
# AVIT ZSH Theme

PROMPT='
$(_user_host)$(_current_dir) $(git_prompt_info) $(_ruby_version)
$(_user_host)${_current_dir} $(git_prompt_info) $(_ruby_version)
%{$fg[$CARETCOLOR]%}▶%{$resetcolor%} '

PROMPT2='%{$fg[$CARETCOLOR]%}◀%{$reset_color%} '
Expand Down

0 comments on commit 55fed4f

Please sign in to comment.