aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-03 15:50:08 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-03 15:50:08 +0300
commitaa606e6cb0cb6ae852cca343fbffe72ed8015a1c (patch)
tree6e4dc6e70300396028ca242cdc29f429b008cfad /config/p10k-classic.zsh
parent0cb680edd1989e6a643b320ab28e2618bd8d068d (diff)
don't print options when no_aliases, no_sh_glob and brace_expand are all set
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 35cfac1e..8c1e36f1 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -761,5 +761,5 @@
typeset -g POWERLEVEL9K_EXAMPLE_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'
}
-setopt ${p10k_config_opts[@]}
+(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
'builtin' 'unset' 'p10k_config_opts'