disable mmap when loading powerlevel10k; maybe it'll help with #490

This commit is contained in:
romkatv 2020-02-13 21:07:22 +01:00
commit 9a0e093e0e
2 changed files with 3 additions and 3 deletions

View file

@ -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