mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 09:58:47 -07:00
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.
This commit is contained in:
parent
9c36248439
commit
55fed4f8cd
@ -1,7 +1,7 @@
|
|||||||
# AVIT ZSH Theme
|
# AVIT ZSH Theme
|
||||||
|
|
||||||
PROMPT='
|
PROMPT='
|
||||||
$(_user_host)$(_current_dir) $(git_prompt_info) $(_ruby_version)
|
$(_user_host)${_current_dir} $(git_prompt_info) $(_ruby_version)
|
||||||
%{$fg[$CARETCOLOR]%}▶%{$resetcolor%} '
|
%{$fg[$CARETCOLOR]%}▶%{$resetcolor%} '
|
||||||
|
|
||||||
PROMPT2='%{$fg[$CARETCOLOR]%}◀%{$reset_color%} '
|
PROMPT2='%{$fg[$CARETCOLOR]%}◀%{$reset_color%} '
|
||||||
|
Loading…
Reference in New Issue
Block a user