Skip to content

Instantly share code, notes, and snippets.

@brunogama
Created July 13, 2012 13:23
Show Gist options
  • Save brunogama/3104869 to your computer and use it in GitHub Desktop.
Save brunogama/3104869 to your computer and use it in GitHub Desktop.
postmkvirtualenv install yolk and add the current dir to the postactivate hook
#!/bin/bash
# This hook is run after a new virtualenv is activated.
pip install yolk
echo "cd "$(pwd) >> $VIRTUAL_ENV/bin/postactivate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment