Skip to content

Instantly share code, notes, and snippets.

@jbalogh
Forked from fwenzel/postactivate
Created November 14, 2009 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbalogh/234314 to your computer and use it in GitHub Desktop.
Save jbalogh/234314 to your computer and use it in GitHub Desktop.
site_packages=$(virtualenvwrapper_get_site_packages_dir)
PROJECT=`basename $VIRTUAL_ENV`
DIR="$HOME/dev/$PROJECT"
if [ -d $DIR ]; then
cd $DIR
fi
unset DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment