1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-26 00:41:57 +00:00

always dump instant prompt whenever dumping state

This commit is contained in:
romkatv 2020-05-06 12:50:17 +02:00
parent fc1fd9beb5
commit c7efd5badb

View file

@ -6133,7 +6133,7 @@ function _p9k_do_dump() {
eval "$__p9k_intro"
zle -F $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_dump_instant_prompt
_p9k_dumped_instant_prompt_sigs[$_p9k__instant_prompt_sig]=1