1
0
Fork 0

[#171] Move Zsh file compilation into zlogin

pull/141/merge
Sorin Ionescu 13 years ago
parent 1645fb88bd
commit 39a60008e5

@ -37,10 +37,3 @@ zstyle -a ':omz:load' omodule 'omodules'
omodload "$omodules[@]" omodload "$omodules[@]"
unset 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

@ -5,6 +5,13 @@
# Sorin Ionescu <sorin.ionescu@gmail.com> # Sorin Ionescu <sorin.ionescu@gmail.com>
# #
# 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
# Set environment variables for launchd processes. # Set environment variables for launchd processes.
if [[ "$OSTYPE" == darwin* ]]; then if [[ "$OSTYPE" == darwin* ]]; then
for env_var in PATH MANPATH; do for env_var in PATH MANPATH; do

Loading…
Cancel
Save