zsh: remove an unneeded if statement