1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 21:40:08 +00:00

bug fix: display icons when expansions are active

This commit is contained in:
romkatv 2019-07-12 22:57:54 +02:00
parent d2fc79743d
commit 97c2806567

View file

@ -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}"