[#316] Compile zcompdump, if modified, to increase startup speed.

This commit is contained in:
Sorin Ionescu 2011-05-01 12:33:28 -04:00
parent 075cf7f59f
commit 5811346525

View file

@ -44,6 +44,11 @@ fi
# Load all of your custom configurations from custom/
for config_file ($ZSH/custom/*.zsh) source $config_file
# Compile zcompdump, if modified, to increase startup speed.
if [ "$HOME/.zcompdump" -nt "$HOME/.zcompdump.zwc" -o ! -e "$HOME/.zcompdump.zwc" ]; then
zcompile "$HOME/.zcompdump"
fi
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
then