aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/p10k.zsh4
-rw-r--r--powerlevel10k.zsh-theme2
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 1d6ff2bd..c6d1304e 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -5381,7 +5381,7 @@ _p9k_dump_instant_prompt() {
exec {fd}>&-
}
zf_mv -f $tmp $root_file || return
- zcompile $root_file || return
+ zcompile -R $root_file || return
fi
local tmp=$prompt_file.tmp.$$
@@ -5463,7 +5463,7 @@ function _p9k_dump_state() {
exec {fd}>&-
}
zf_mv -f $tmp $__p9k_dump_file || return
- zcompile $__p9k_dump_file
+ zcompile -R $__p9k_dump_file
}
function _p9k_restore_state() {
diff --git a/powerlevel10k.zsh-theme b/powerlevel10k.zsh-theme
index 3e76aac8..d0dfde91 100644
--- a/powerlevel10k.zsh-theme
+++ b/powerlevel10k.zsh-theme
@@ -47,7 +47,7 @@
if [[ -w $__p9k_root_dir && -w $__p9k_root_dir/internal && -w $__p9k_root_dir/gitstatus && ${(%):-%#} == % ]]; then
local f
for f in $__p9k_root_dir/{powerlevel9k.zsh-theme,powerlevel10k.zsh-theme,internal/p10k.zsh,internal/icons.zsh,internal/configure.zsh,internal/worker.zsh,internal/parser.zsh,gitstatus/gitstatus.plugin.zsh}; do
- [[ $f.zwc -nt $f ]] || zcompile $f
+ [[ $f.zwc -nt $f ]] || zcompile -R $f
done
fi
source $__p9k_root_dir/internal/p10k.zsh || true