Compile ~/.zcompdump if it has been updated

This commit is contained in:
Pat Regan 2011-04-29 22:45:53 -04:00
commit 50d5bd72d5

View file

@ -39,6 +39,10 @@ else
source "$ZSH/themes/$ZSH_THEME.zsh-theme" source "$ZSH/themes/$ZSH_THEME.zsh-theme"
fi fi
# Compile zcompdump if necessary
if [ ~/.zcompdump -nt ~/.zcompdump.zwc ]; then
zcompile ~/.zcompdump
fi
# Check for updates on initial load... # Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" = "true" ] if [ "$DISABLE_AUTO_UPDATE" = "true" ]