diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-13 23:07:22 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-13 23:07:22 +0300 |
commit | 9a0e093e0ed53114c60a7faf6a7aff1da5de6e11 (patch) | |
tree | 882a851c561985fe1fa8827975547236a1bd16db /internal | |
parent | 3fff07357deaddeccf228af60d083b636d440a1b (diff) |
disable mmap when loading powerlevel10k; maybe it'll help with #490
Diffstat (limited to 'internal')
-rw-r--r-- | internal/p10k.zsh | 4 |
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() { |