Rename $dump_file to $zcompdump

This commit is contained in:
Sorin Ionescu 2012-09-01 17:53:06 -04:00
parent 935e6a5060
commit 57e0f4ecef
1 changed files with 3 additions and 3 deletions

View File

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