Fixes zsh's hook