summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-10 12:28:59 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-10 12:28:59 +0300
commitb6cf0cf9ec20cf38bfad52a2667b7ff93b3d15ad (patch)
tree9163662d44d82c7503bd0b1a7ffa487c0644f166
parent54360ed43081fb832b94eafbf145f634aa078816 (diff)
bug fix: persist _p9k_dumped_instant_prompt_sigs changes
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index d966da14..09dd120c 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -5606,9 +5606,9 @@ function _p9k_maybe_dump() {
"${(pj:\x1f:)__p9k_used_instant_prompt}" != "${(e)_p9k_instant_prompt}" ]]; then
_p9k_dump_instant_prompt
if (( ! $+_p9k_dumped_instant_prompt_sigs[$_p9k__instant_prompt_sig] )); then
+ _p9k_dumped_instant_prompt_sigs[$_p9k__instant_prompt_sig]=1
_p9k_dump_state
_p9k__state_dump_scheduled=0
- _p9k_dumped_instant_prompt_sigs[$_p9k__instant_prompt_sig]=1
fi
fi
elif (( _p9k__state_dump_scheduled || ! (_p9k__instant_prompt_disabled || $+_p9k_dumped_instant_prompt_sigs[$_p9k__instant_prompt_sig]) )); then