aboutsummaryrefslogtreecommitdiff
path: root/internal/icons.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/icons.zsh')
-rw-r--r--internal/icons.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh
index d41319bc..919eafca 100644
--- a/internal/icons.zsh
+++ b/internal/icons.zsh
@@ -1,7 +1,7 @@
typeset -gA icons
function _p9k_init_icons() {
- [[ $+_p9k__icon_mode == 1 && $_p9k__icon_mode == $POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING ]] && return
+ [[ $_p9k__icon_mode == $POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING/$POWERLEVEL9K_ICON_PADDING ]] && return
typeset -g _p9k__icon_mode=$POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING/$POWERLEVEL9K_ICON_PADDING
if [[ $POWERLEVEL9K_LEGACY_ICON_SPACING == true ]]; then