Skip to content

Instantly share code, notes, and snippets.

@saqibameen
Created November 21, 2017 16:05
Show Gist options
  • Save saqibameen/5aeb6200abe028778b9ff0410eca434a to your computer and use it in GitHub Desktop.
Save saqibameen/5aeb6200abe028778b9ff0410eca434a to your computer and use it in GitHub Desktop.
Set zsh as default shell
# Launch zsh.
if [ -t 1 ]; then # Bash' output is terminal.
exec zsh # Run zsh.
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment