summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-04-06 12:01:27 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-04-06 12:01:27 +0300
commit0cdb75b9d177c2303fbd50aef0eaf02fe3473574 (patch)
tree1a9ed40f9b8bb54c9a4084cfdc278bb9f5c1f49d /internal
parent5986b35032b1317d038a895800bfa8a5b1f5dbdb (diff)
auto-start configuration wizard if no POWERLEVEL9K parameters are set; fixes #615
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh2
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)