mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
move _p9k_precmd to the end of precmd_functions
This commit is contained in:
parent
d40f54f30d
commit
6096321f61
1 changed files with 3 additions and 0 deletions
|
@ -3938,6 +3938,9 @@ _p9k_precmd_impl() {
|
||||||
fi
|
fi
|
||||||
_p9k_init
|
_p9k_init
|
||||||
_p9k__instant_prompt_disabled=$((_POWERLEVEL9K_DISABLE_INSTANT_PROMPT || instant_prompt_disabled))
|
_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
|
fi
|
||||||
|
|
||||||
if (( _p9k__timer_start )); then
|
if (( _p9k__timer_start )); then
|
||||||
|
|
Loading…
Reference in a new issue