aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-12 23:57:54 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-12 23:57:54 +0300
commit97c28065674dc2447dd7437f68218fda377a183c (patch)
tree0778fc623110836f564a878364e79156f6493719
parentd2fc79743d9897c12f3cbd3830563aa9dcfea380 (diff)
bug fix: display icons when expansions are active
-rwxr-xr-xinternal/p10k.zsh4
1 files 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}"