mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-12 19:18:28 +02:00
move _p9k_precmd to the end of precmd_functions
This commit is contained in:
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…
Reference in New Issue
Block a user