From 6096321f611a4850deeb9b3d6726112621924086 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sun, 27 Oct 2019 10:48:17 +0100 Subject: [PATCH] move _p9k_precmd to the end of precmd_functions --- internal/p10k.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index f7576b50..fd9b41de 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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