mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-14 07:49:09 +00:00
[#171] Move Zsh file compilation into zlogin
This commit is contained in:
7
init.zsh
7
init.zsh
@@ -37,10 +37,3 @@ zstyle -a ':omz:load' omodule 'omodules'
|
||||
omodload "$omodules[@]"
|
||||
unset omodules
|
||||
|
||||
# Compile the completion dump to increase startup speed.
|
||||
dump_file="$HOME/.zcompdump"
|
||||
if [[ "$dump_file" -nt "${dump_file}.zwc" || ! -s "${dump_file}.zwc" ]]; then
|
||||
zcompile "$dump_file"
|
||||
fi
|
||||
unset dump_file
|
||||
|
||||
|
Reference in New Issue
Block a user