Apple - Broken terminal

Are you running zsh? I'm seeing a similar problem while running iTerm2. It seems to be a problem with zsh and not with Terminal or iTerm2. Just started happening to me.

If you had installed zsh with Homebrew and you are having that problem, what worked for me was:

brew reinstall zsh && brew unlink zsh && brew link zsh

If you didn't install zsh with Homebrew, then ignore this :-)


  1. Choose Shell → New Command….

  2. Run chsh -s /bin/bash and make sure to deselect ‘Run command inside a shell’.

  3. Enter your user account password at the prompt to change your shell back to /bin/bash.


Easier I think:
Download iTerm2 and brew update && brew upgrade zsh worked for me ;-)