mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
fix fg color of RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL
This commit is contained in:
parent
a2a21ae95a
commit
5e4628d485
1 changed files with 3 additions and 2 deletions
|
@ -825,8 +825,9 @@ _p9k_right_prompt_segment() {
|
||||||
p+='${_p9k_sss::='
|
p+='${_p9k_sss::='
|
||||||
p+=$style_$right_space_
|
p+=$style_$right_space_
|
||||||
[[ $right_space_ == *%* ]] && p+=$style_
|
[[ $right_space_ == *%* ]] && p+=$style_
|
||||||
p+=$end_sep_
|
if [[ -n $end_sep_ ]]; then
|
||||||
[[ $end_sep_ == *%* ]] && p+=$style_
|
p+="%k%F{$bg_color\}$end_sep_$style_"
|
||||||
|
fi
|
||||||
p+='}'
|
p+='}'
|
||||||
|
|
||||||
p+="\${_p9k_i::=$_p9k_segment_index}\${_p9k_bg::=$bg_color}"
|
p+="\${_p9k_i::=$_p9k_segment_index}\${_p9k_bg::=$bg_color}"
|
||||||
|
|
Loading…
Reference in a new issue