1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00:00

ignore POWERLEVEL9K_CONFIG_FILE when deciding whether to start wizard

This commit is contained in:
romkatv 2020-04-05 17:29:01 +02:00
parent ddc47993a2
commit fda14e93d2

View file

@ -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|) ]]; then
if [[ "${parameters[(I)POWERLEVEL9K_*]} " == (POWERLEVEL9K_MODE |POWERLEVEL9K_CONFIG_FILE )# ]]; then
_p9k_can_configure -q
case $? in
0)