disable instant prompt when gitstatus fails to initialize

pull/778/head
romkatv 5 years ago
parent ed3287b737
commit 2ade5d786b

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

Loading…
Cancel
Save