Skip to content

Instantly share code, notes, and snippets.

@shello
Created November 27, 2011 15:24
Show Gist options
  • Save shello/1397691 to your computer and use it in GitHub Desktop.
Save shello/1397691 to your computer and use it in GitHub Desktop.
virtualenvwrapper loader.
VIRTUALENVWRAPPER_PATH="/usr/local/Cellar/python/2.7.1/bin/virtualenvwrapper.sh"
function virtualenvwrapper () {
if [ ! -n "${VIRTUALENVWRAPPER_SET}" ]; then
source ${VIRTUALENVWRAPPER_PATH}
VIRTUALENVWRAPPER_SET=true
echo "virtualenvwrapper loaded."
fi
}
# Heh, it works.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment