Simplifies the zsh hook a bit