Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Keep per virtualenv postactivate scripts in WORKON_HOME
#!/bin/bash
# This hook is run after every virtualenv is activated.
script="$VIRTUALENVWRAPPER_HOOK_DIR/postactivate-"$(basename $VIRTUAL_ENV)
if [ -r $script ]; then
source $script
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.