mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
bug fix: display icons when expansions are active
This commit is contained in:
parent
d2fc79743d
commit
97c2806567
1 changed files with 2 additions and 2 deletions
|
@ -322,7 +322,7 @@ left_prompt_segment() {
|
|||
[[ $icon_ == *%* ]] && p+=$style_
|
||||
p+="}"
|
||||
else
|
||||
p+="\${P9K_VISUAL_IDENTIFIER::=$icon}\${_P9K_V::=$icon_exp$style_}"
|
||||
p+="\${P9K_VISUAL_IDENTIFIER::=$icon_}\${_P9K_V::=$icon_exp$style_}"
|
||||
fi
|
||||
|
||||
p+="\${_P9K_C::=$content_exp}"
|
||||
|
@ -474,7 +474,7 @@ right_prompt_segment() {
|
|||
[[ $icon_ == *%* ]] && p+=$style_
|
||||
p+="}"
|
||||
else
|
||||
p+="\${P9K_VISUAL_IDENTIFIER::=$icon}\${_P9K_V::=$icon_exp$style_}"
|
||||
p+="\${P9K_VISUAL_IDENTIFIER::=$icon_}\${_P9K_V::=$icon_exp$style_}"
|
||||
fi
|
||||
|
||||
p+="\${_P9K_C::=$content_exp}"
|
||||
|
|
Loading…
Reference in a new issue