浏览代码

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.
L.C. Karssen 9 年之前
父节点
当前提交
55fed4f8cd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/avit.zsh-theme

+ 1 - 1
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%} '