aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinternal/p10k.zsh2
-rwxr-xr-xinternal/wizard.zsh2
2 files changed, 2 insertions, 2 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
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index 4e6356e5..d0685ed3 100755
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -146,7 +146,7 @@ function quit() {
print -P "To define an option that does nothing except for disabling Powerlevel10k"
print -P "configuration wizard, type the following command:"
print -P ""
- print -P " %2Fecho%f %3F'POWERLEVEL9K_MODE='%f >>! $__p9k_zshrc_u"
+ print -P " %2Fecho%f %3F'POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true'%f >>! $__p9k_zshrc_u"
print -P ""
print -P "To run Powerlevel10k configuration wizard right now, type:"
print -P ""