diff --git a/runcoms/zlogin b/runcoms/zlogin index 1ac8945f..e27e2332 100644 --- a/runcoms/zlogin +++ b/runcoms/zlogin @@ -9,7 +9,7 @@ { # Compile the completion dump to increase startup speed. zcompdump="${ZDOTDIR:-$HOME}/.zcompdump" - if [[ -e "$zcompdump" && ("$zcompdump" -nt "${zcompdump}.zwc" || ! -s "${zcompdump}.zwc") ]]; + if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then zcompile "$zcompdump" fi