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

disable instant prompt when gitstatus fails to initialize

This commit is contained in:
romkatv 2020-05-26 08:36:52 +02:00
parent ed3287b737
commit 2ade5d786b

View file

@ -7910,6 +7910,7 @@ _p9k_init_vcs() {
}
}
fi
(( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )) || _p9k__instant_prompt_disabled=1
return 0
fi
(( _POWERLEVEL9K_DISABLE_GITSTATUS )) && return
@ -7952,6 +7953,7 @@ _p9k_init_vcs() {
trap ':' INT
}
}
(( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )) || _p9k__instant_prompt_disabled=1
}
_p9k_init() {