aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-lean.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-lean.zsh
parent0cb680edd1989e6a643b320ab28e2618bd8d068d (diff)
don't print options when no_aliases, no_sh_glob and brace_expand are all set
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 96aba8e3..4693b363 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -740,5 +740,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'