aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-13 23:07:22 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-13 23:07:22 +0300
commit9a0e093e0ed53114c60a7faf6a7aff1da5de6e11 (patch)
tree882a851c561985fe1fa8827975547236a1bd16db /internal/p10k.zsh
parent3fff07357deaddeccf228af60d083b636d440a1b (diff)
disable mmap when loading powerlevel10k; maybe it'll help with #490
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh4
1 files changed, 2 insertions, 2 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() {