Skip to content

Instantly share code, notes, and snippets.

@kenvontucky
Last active July 25, 2018 09:25
Show Gist options
  • Save kenvontucky/1150ddf7100e8ace1b75e156db1f9819 to your computer and use it in GitHub Desktop.
Save kenvontucky/1150ddf7100e8ace1b75e156db1f9819 to your computer and use it in GitHub Desktop.
cd () {
builtin cd $1;
if [ -d "python-virtual-env" ]; then
source python-virtual-env/bin/activate;
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment