The Terminal app uses bash by default. And I don't want to change it. However I want to configure iTerm2 with zshell and oh my zsh. and I don't want bash on it. The instructions I checked online, make zshell default in both apps.


If your default system shell is bash, your Terminal should start with it. You can check it on General tab under Terminal Preferences. Should look like the following:

enter image description here

If bash isn't your default shell, you can change it by typing:

chsh -s /bin/bash

To configure iTerm2 with zsh you have to open Preferences and change the command on General tab on your default profile. You have to enter /bin/zsh or whatever shell you want.

some text here

To install oh-my-zsh type the following:

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • 3
    Should it actually be chsh -s /bin/bash (-s, not -c)? I get chsh: illegal option -- c...
    – XML
    Mar 25 '16 at 9:56

You must log in to answer this question.

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