From 97c28065674dc2447dd7437f68218fda377a183c Mon Sep 17 00:00:00 2001 From: romkatv Date: Fri, 12 Jul 2019 22:57:54 +0200 Subject: [PATCH] bug fix: display icons when expansions are active --- internal/p10k.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 5076ce01..1053f71c 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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}"