Fix the "command not found: add-zsh-hook" error

Apply the same fix as for #748