Skip to content

Instantly share code, notes, and snippets.

@billyshambrook
Last active December 28, 2015 04:49
Show Gist options
  • Save billyshambrook/7445493 to your computer and use it in GitHub Desktop.
Save billyshambrook/7445493 to your computer and use it in GitHub Desktop.
Virtualenvwrapper postdeactivate
#!/bin/zsh
# Global virtualenvwrapper postactivate, lives in $WORKON_HOME/postdeactivate
if [ $PRE_VENV_ACTIVATE_DIR ]; then
cd $PRE_VENV_ACTIVATE_DIR
unset PRE_VENV_ACTIVATE_DIR
unset CURRENT_PROJECT
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment