zsh: check if tty before setting colors