summaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 9ff31681..b37fa2d0 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -3281,7 +3281,7 @@ _p9k_precmd() {
if _p9k_must_init; then
if (( !__p9k_configured )); then
__p9k_configured=1
- if [[ -z ${parameters[(i)POWERLEVEL9K_*]} ]] && _p9k_can_configure -q; then
+ if [[ "${parameters[(I)POWERLEVEL9K_*]}" == (POWERLEVEL9K_MODE|) ]] && _p9k_can_configure -q; then
if $__p9k_root_dir/internal/wizard.zsh -d $__p9k_root_dir; then
source $__p9k_cfg_path
_p9k_must_init