Compile zcompdump, if modified, to increase startup speed.

This commit is contained in:
Sorin Ionescu 2011-05-01 12:33:28 -04:00
parent f26a86795e
commit c7b8ce0f0b

View File

@ -54,3 +54,7 @@ else
fi
fi
# 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