Skip to content

Instantly share code, notes, and snippets.

@neanias
Created February 5, 2017 17:30
Show Gist options
  • Save neanias/0e5ef0a69295f6c6b303028b3fd1075a to your computer and use it in GitHub Desktop.
Save neanias/0e5ef0a69295f6c6b303028b3fd1075a to your computer and use it in GitHub Desktop.
# use zsh instead of bash
case $- in
*i*)
if [ $(which zsh 2>/dev/null) ]; then
export SHELL=$(which zsh)
export BASH=""
exec zsh
fi
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment