mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
auto-start configuration wizard if no POWERLEVEL9K parameters are set; fixes #615
This commit is contained in:
parent
5986b35032
commit
0cdb75b9d1
1 changed files with 1 additions and 1 deletions
|
@ -6300,7 +6300,7 @@ _p9k_precmd_impl() {
|
||||||
local -i instant_prompt_disabled
|
local -i instant_prompt_disabled
|
||||||
if (( !__p9k_configured )); then
|
if (( !__p9k_configured )); then
|
||||||
__p9k_configured=1
|
__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
|
_p9k_can_configure -q
|
||||||
case $? in
|
case $? in
|
||||||
0)
|
0)
|
||||||
|
|
Loading…
Reference in a new issue