Skip to content

Instantly share code, notes, and snippets.

@cfsanderson
Last active July 4, 2017 04:28
Show Gist options
  • Save cfsanderson/1ac9eef966d0cc8be3cd713405eaf8b7 to your computer and use it in GitHub Desktop.
Save cfsanderson/1ac9eef966d0cc8be3cd713405eaf8b7 to your computer and use it in GitHub Desktop.
This script checks for zsh and makes it the default shell
zsh --version
echo "Expected result: 'zsh 4.3.9' or more recent"
echo $SHELL
echo "confirm expected result: '/bin/zsh' or similar"
# make it the default shell
chsh -s $(which zsh)
echo "===== Log out and login back again to use your new default shell. ====="
echo "===== Next Step: Install Oh-My-Zsh ====="
echo "===== curl -Lks https://goo.gl/rysF9G | bash ====="
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment