Skip to content

Instantly share code, notes, and snippets.

@kenvontucky
Last active July 25, 2018 09:26
Show Gist options
  • Save kenvontucky/a2d99165e1fbc708da9bb650c9a3269f to your computer and use it in GitHub Desktop.
Save kenvontucky/a2d99165e1fbc708da9bb650c9a3269f to your computer and use it in GitHub Desktop.
cd () {
command 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