always dump instant prompt whenever dumping state

pull/695/head
romkatv 5 years ago
parent fc1fd9beb5
commit c7efd5badb

@ -6133,7 +6133,7 @@ function _p9k_do_dump() {
eval "$__p9k_intro" eval "$__p9k_intro"
zle -F $1 zle -F $1
exec {1}>&- exec {1}>&-
if ! (( _p9k__instant_prompt_disabled || $+_p9k_dumped_instant_prompt_sigs[$_p9k__instant_prompt_sig] )); then if (( ! _p9k__instant_prompt_disabled )); then
_p9k_set_instant_prompt _p9k_set_instant_prompt
_p9k_dump_instant_prompt _p9k_dump_instant_prompt
_p9k_dumped_instant_prompt_sigs[$_p9k__instant_prompt_sig]=1 _p9k_dumped_instant_prompt_sigs[$_p9k__instant_prompt_sig]=1

Loading…
Cancel
Save