Commit bcc859e0 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

avit: reenable use of $fg instead of prompt sequence colors to fix weird bug

Fixes #9232
parent 93c837fe
...@@ -7,9 +7,9 @@ typeset +H _hist_no="%{$fg[grey]%}%h%{$reset_color%}" ...@@ -7,9 +7,9 @@ typeset +H _hist_no="%{$fg[grey]%}%h%{$reset_color%}"
PROMPT=' PROMPT='
$(_user_host)${_current_dir} $(git_prompt_info) $(ruby_prompt_info) $(_user_host)${_current_dir} $(git_prompt_info) $(ruby_prompt_info)
%{%(!.%F{red}.%F{white})%}▶%{$reset_color%} ' %{%(!.${fg[red]}.${fg[white]})%}▶%{$reset_color%} '
PROMPT2='%{%(!.%F{red}.%F{white})%}◀%{$reset_color%} ' PROMPT2='%{%(!.${fg[red]}.${fg[white]})%}◀%{$reset_color%} '
RPROMPT='$(vi_mode_prompt_info)%{$(echotc UP 1)%}$(_git_time_since_commit) $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}' RPROMPT='$(vi_mode_prompt_info)%{$(echotc UP 1)%}$(_git_time_since_commit) $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment