mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-30 00:34:42 +00:00
bug fix: display icons when expansions are active
This commit is contained in:
+2
-2
@@ -322,7 +322,7 @@ left_prompt_segment() {
|
|||||||
[[ $icon_ == *%* ]] && p+=$style_
|
[[ $icon_ == *%* ]] && p+=$style_
|
||||||
p+="}"
|
p+="}"
|
||||||
else
|
else
|
||||||
p+="\${P9K_VISUAL_IDENTIFIER::=$icon}\${_P9K_V::=$icon_exp$style_}"
|
p+="\${P9K_VISUAL_IDENTIFIER::=$icon_}\${_P9K_V::=$icon_exp$style_}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
p+="\${_P9K_C::=$content_exp}"
|
p+="\${_P9K_C::=$content_exp}"
|
||||||
@@ -474,7 +474,7 @@ right_prompt_segment() {
|
|||||||
[[ $icon_ == *%* ]] && p+=$style_
|
[[ $icon_ == *%* ]] && p+=$style_
|
||||||
p+="}"
|
p+="}"
|
||||||
else
|
else
|
||||||
p+="\${P9K_VISUAL_IDENTIFIER::=$icon}\${_P9K_V::=$icon_exp$style_}"
|
p+="\${P9K_VISUAL_IDENTIFIER::=$icon_}\${_P9K_V::=$icon_exp$style_}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
p+="\${_P9K_C::=$content_exp}"
|
p+="\${_P9K_C::=$content_exp}"
|
||||||
|
|||||||
Reference in New Issue
Block a user