I don't exactly remember what I did last night, but ever since I get this message everytime I launch terminal. Not that it stops me from doing anything, it's just really annoying. Any help regarding this will be greatly appreciated. Thanks.

Terminal error message

1 Answer 1


Check your profile files (~/.profile, ~/.bash_profile, etc) to see what is being run when you launch your shell and remove references to zsh. To see exactly what is being executed when you launch your shell, execute your shell with the -x option. Also make sure your Terminal shell is set correctly in Preferences.

  • I have no expertise in working with terminal but I checked the .bash_profile in my home directory which appears to be totally empty. Any specific steps that I can follow ?
    – Nash Vail
    Commented Jan 3, 2015 at 16:21
  • @nashmaniac Make sure that the shell in Terminal → Preferences → General is set to the shell you intend. Other profile files to check
    – grg
    Commented Jan 3, 2015 at 16:22
  • 1
    Setting the shell to default in preferences did the trick
    – Nash Vail
    Commented Jan 3, 2015 at 16:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .