1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-24 16:11:57 +00:00

move _p9k_precmd to the end of precmd_functions

This commit is contained in:
romkatv 2019-10-27 10:48:17 +01:00
parent d40f54f30d
commit 6096321f61

View file

@ -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