aboutsummaryrefslogtreecommitdiff
path: root/internal/icons.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-10 14:59:37 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-10 14:59:37 +0300
commitf01c200e9851ceda58b02ec0f0cbfbc7c1bea36f (patch)
tree9c7f747383c38125423593be75a8646aa6cede0e /internal/icons.zsh
parentb6cf0cf9ec20cf38bfad52a2667b7ff93b3d15ad (diff)
rename many _p9k_ vars to _p9k__; trigger state dump when timewarrior and asdf caches change
Diffstat (limited to 'internal/icons.zsh')
-rw-r--r--internal/icons.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh
index 8a30d288..725da7d0 100644
--- a/internal/icons.zsh
+++ b/internal/icons.zsh
@@ -1,8 +1,8 @@
typeset -gA icons
function _p9k_init_icons() {
- [[ $+_p9k_icon_mode == 1 && $_p9k_icon_mode == $POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING ]] && return
- typeset -g _p9k_icon_mode=$POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING
+ [[ $+_p9k__icon_mode == 1 && $_p9k__icon_mode == $POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING ]] && return
+ typeset -g _p9k__icon_mode=$POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING
if [[ $POWERLEVEL9K_LEGACY_ICON_SPACING == true ]]; then
local s=