diff --git a/runcoms/zlogin b/runcoms/zlogin index 2854965a..35a8b354 100644 --- a/runcoms/zlogin +++ b/runcoms/zlogin @@ -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.