aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-06 13:50:17 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-06 13:50:17 +0300
commitc7efd5badb2f989e8fadbda31aedb902c96b6703 (patch)
tree23108daf9b6b2213d2d2656e8a0678601f217541 /internal/p10k.zsh
parentfc1fd9beb56e073d3b7e3d537cf4dbf6c7795496 (diff)
always dump instant prompt whenever dumping state
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index be63fb09..183b33f3 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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