Skip to content

Instantly share code, notes, and snippets.

@shahdhiren
Created February 8, 2016 13:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shahdhiren/2fa68884823b0485d6d4 to your computer and use it in GitHub Desktop.
Save shahdhiren/2fa68884823b0485d6d4 to your computer and use it in GitHub Desktop.
Change the Shell in Mac OS X Terminal
Change the user login default shell to zsh:
chsh -s /bin/zsh
ksh:
chsh -s /bin/ksh
tcsh:
chsh -s /bin/tcsh
bash (default):
chsh -s /bin/bash
sh:
chsh -s /bin/sh
other shells:
Simply adjust the path for chsh to set, like so:
chsh -s /path/to/alternate/shell/like/fish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment