summaryrefslogtreecommitdiff
path: root/themes/avit.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-09-26 12:15:59 +0200
committerMarc Cornellà <marc.cornella@live.com>2020-09-26 12:15:59 +0200
commitbcc859e012a8f259971d1fd531535a261838c0c4 (patch)
treedb69f7ccd54dc3f093223955d800f9f759f4d1e2 /themes/avit.zsh-theme
parent93c837fec8e9fe61509b9dff9e909e84f7ebe32d (diff)
downloadzsh-bcc859e012a8f259971d1fd531535a261838c0c4.tar.gz
zsh-bcc859e012a8f259971d1fd531535a261838c0c4.tar.bz2
zsh-bcc859e012a8f259971d1fd531535a261838c0c4.zip
avit: reenable use of $fg instead of prompt sequence colors to fix weird bug
Fixes #9232
Diffstat (limited to 'themes/avit.zsh-theme')
-rw-r--r--themes/avit.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme
index 05b3fb212..921ed99d3 100644
--- a/themes/avit.zsh-theme
+++ b/themes/avit.zsh-theme
@@ -7,9 +7,9 @@ typeset +H _hist_no="%{$fg[grey]%}%h%{$reset_color%}"
PROMPT='
$(_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)%}'