bcc859e012a8f259971d1fd531535a261838c0c4

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

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

Fixes #9232

Diff

 1diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme
 2index 05b3fb212c9ab841e31417320c403c2735a47105..921ed99d3d1a5239232716562c16d00b431bca0c 100644
 3--- a/themes/avit.zsh-theme
 4+++ b/themes/avit.zsh-theme
 5@@ -7,9 +7,9 @@ typeset +H _hist_no="%{$fg[grey]%}%h%{$reset_color%}"
 6 
 7 PROMPT='
 8 $(_user_host)${_current_dir} $(git_prompt_info) $(ruby_prompt_info)
 9-%{%(!.%F{red}.%F{white})%}▶%{$reset_color%} '
10+%{%(!.${fg[red]}.${fg[white]})%}▶%{$reset_color%} '
11 
12-PROMPT2='%{%(!.%F{red}.%F{white})%}◀%{$reset_color%} '
13+PROMPT2='%{%(!.${fg[red]}.${fg[white]})%}◀%{$reset_color%} '
14 
15 RPROMPT='$(vi_mode_prompt_info)%{$(echotc UP 1)%}$(_git_time_since_commit) $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
16