Mac OS X: How to change the Terminal shell
The default shell (or command-line interface) used in Mac OS X 10.0 through 10.2.8 is tcsh (with 10.3 and 10.4 it's bash). With Mac OS X 10.2 or later, other interactive shells are included, such as bash and zsh.
To temporarily change your shell, type the name of the shell, such as: bash
To revert to the tcsh shell, close the Terminal window and open a new one.
To permanently change your default Terminal shell:
- Choose Preferences from the Terminal menu.
- Select the option "Execute this command (specify complete path):"
- Change the selected text entry from /bin/tcsh to reflect a different Terminal shell, such as:
/bin/zsh-4.0.4 (Mac OS X 10.2.8 or earlier)
/bin/zsh-4.1.1 (Mac OS X 10.3 or later)
/bin/ksh (Mac OS X 10.4 or later)
- Close the Terminal Preferences window.
- Quit and open Terminal again. The first and subsequent new Terminal windows open with the shell that you designated in Preferences.
|107106||Mac OS X 10.2: Tab Completion and Aliases in Terminal Differ From Earlier Versions|
|43139||Useful Mac OS X Terms: What is BSD?|