Skip to content

Instantly share code, notes, and snippets.

@neanias

neanias/.bashrc

Created Feb 5, 2017
Embed
What would you like to do?
# 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