diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-30 13:49:36 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-30 13:49:36 +0300 |
commit | 5e4628d4859ef3250d41f97a7396fc50e2213249 (patch) | |
tree | fbf87cbe920bfd8682bcbf1432d612c9e4132ddc /internal | |
parent | a2a21ae95ab6ac13f68ddfbd25d24855218b875b (diff) |
fix fg color of RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL
Diffstat (limited to 'internal')
-rwxr-xr-x | internal/p10k.zsh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 853bb64e..ce6cfa14 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -825,8 +825,9 @@ _p9k_right_prompt_segment() { p+='${_p9k_sss::=' p+=$style_$right_space_ [[ $right_space_ == *%* ]] && p+=$style_ - p+=$end_sep_ - [[ $end_sep_ == *%* ]] && p+=$style_ + if [[ -n $end_sep_ ]]; then + p+="%k%F{$bg_color\}$end_sep_$style_" + fi p+='}' p+="\${_p9k_i::=$_p9k_segment_index}\${_p9k_bg::=$bg_color}" |