move _p9k_precmd to the end of precmd_functions

pull/298/head
romkatv 5 years ago
parent d40f54f30d
commit 6096321f61

@ -3938,6 +3938,9 @@ _p9k_precmd_impl() {
fi
_p9k_init
_p9k__instant_prompt_disabled=$((_POWERLEVEL9K_DISABLE_INSTANT_PROMPT || instant_prompt_disabled))
if (( $+precmd_functions && precmd_functions[(I)_p9k_precmd] )); then
precmd_functions=(${(@)precmd_functions:#_p9k_precmd} _p9k_precmd)
fi
fi
if (( _p9k__timer_start )); then

Loading…
Cancel
Save