Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Keep per virtualenv postactivate scripts in WORKON_HOME
# This hook is run after every virtualenv is activated.
script="$VIRTUALENVWRAPPER_HOOK_DIR/postactivate-"$(basename $VIRTUAL_ENV)
if [ -r $script ]; then
source $script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment