1
0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-07 11:13:20 +02:00

Revert "remove DISABLE_UPDATE_PROMPT=true from instant prompt"

This reverts commit 07a971d310.
This commit is contained in:
Roman Perepelitsa 2024-03-18 16:21:24 +01:00
parent 50794faba4
commit 55c8f74c38

View File

@ -6515,6 +6515,7 @@ _p9k_dump_instant_prompt() {
} }
zshexit_functions=(_p9k_instant_prompt_cleanup $zshexit_functions) zshexit_functions=(_p9k_instant_prompt_cleanup $zshexit_functions)
precmd_functions=(_p9k_instant_prompt_precmd_first $precmd_functions) precmd_functions=(_p9k_instant_prompt_precmd_first $precmd_functions)
DISABLE_UPDATE_PROMPT=true
} && unsetopt prompt_cr prompt_sp && typeset -gi __p9k_instant_prompt_sourced='$__p9k_instant_prompt_version' || } && unsetopt prompt_cr prompt_sp && typeset -gi __p9k_instant_prompt_sourced='$__p9k_instant_prompt_version' ||
typeset -gi __p9k_instant_prompt_sourced=${__p9k_instant_prompt_sourced:-0}' typeset -gi __p9k_instant_prompt_sourced=${__p9k_instant_prompt_sourced:-0}'
} always { } always {