Skip to content

Instantly share code, notes, and snippets.

@yaanno
Created February 23, 2010 20:58
Show Gist options
  • Save yaanno/312698 to your computer and use it in GitHub Desktop.
Save yaanno/312698 to your computer and use it in GitHub Desktop.
#!/bin/sh
# This hook is run after every virtualenv is activated.
# echo "Setting up the minimal layout taken from http://github.com/yaanno/budapest-py/"
# pip install http://github.com/yaanno/budapest-py/raw/master/requirements.minimal.txt
export projs=$VIRTUAL_ENV/Projects
echo "Changing directory to:" $projs
if [ ! -d $projs ]; then
mkdir $projs
fi
cd $projs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment