bug fix: display icons when expansions are active

pull/145/head
romkatv 5 years ago
parent d2fc79743d
commit 97c2806567

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

Loading…
Cancel
Save