1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

avit: fix prompt sequence (fixes #8678)

This commit is contained in:
Marc Cornellà 2020-02-25 12:21:06 +01:00
parent b72607bc8e
commit d959283898

View file

@ -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.white)}%}▶%{$resetcolor%} ' %{%(!.%F{red}.%F{white})%}▶%{$resetcolor%} '
PROMPT2='%{%F{%(!.red.white)}%}◀%{$reset_color%} ' PROMPT2='%{%(!.%F{red}.%F{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)%}'