diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-04-06 12:01:27 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-04-06 12:01:27 +0300 |
commit | 0cdb75b9d177c2303fbd50aef0eaf02fe3473574 (patch) | |
tree | 1a9ed40f9b8bb54c9a4084cfdc278bb9f5c1f49d /internal | |
parent | 5986b35032b1317d038a895800bfa8a5b1f5dbdb (diff) |
auto-start configuration wizard if no POWERLEVEL9K parameters are set; fixes #615
Diffstat (limited to 'internal')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 7f2f43f8..c15f088b 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -6300,7 +6300,7 @@ _p9k_precmd_impl() { local -i instant_prompt_disabled if (( !__p9k_configured )); then __p9k_configured=1 - if [[ "${parameters[(I)POWERLEVEL9K_*]} " == (POWERLEVEL9K_MODE |POWERLEVEL9K_CONFIG_FILE )# ]]; then + if [[ -z "${parameters[(I)POWERLEVEL9K_*~(POWERLEVEL9K_MODE|POWERLEVEL9K_CONFIG_FILE)]}" ]]; then _p9k_can_configure -q case $? in 0) |