aboutsummaryrefslogtreecommitdiff
path: root/internal/icons.zsh
diff options
context:
space:
mode:
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=