[#316] Compile zcompdump, if modified, to increase startup speed.
This commit is contained in:
parent
075cf7f59f
commit
5811346525
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue