Rename $dump_file to $zcompdump

This commit is contained in:
Sorin Ionescu 2012-09-01 17:53:06 -04:00
parent 935e6a5060
commit 57e0f4ecef

View File

@ -8,9 +8,9 @@
# Execute code that does not affect the current session in the background. # Execute code that does not affect the current session in the background.
{ {
# Compile the completion dump to increase startup speed. # Compile the completion dump to increase startup speed.
dump_file="$HOME/.zcompdump" zcompdump="$HOME/.zcompdump"
if [[ "$dump_file" -nt "${dump_file}.zwc" || ! -s "${dump_file}.zwc" ]]; then if [[ "$zcompdump" -nt "${zcompdump}.zwc" || ! -s "${zcompdump}.zwc" ]]; then
zcompile "$dump_file" zcompile "$zcompdump"
fi fi
# Set environment variables for launchd processes. # Set environment variables for launchd processes.