Skip to content

Instantly share code, notes, and snippets.

@haridas
Created February 16, 2013 10:22
Show Gist options
  • Save haridas/4966347 to your computer and use it in GitHub Desktop.
Save haridas/4966347 to your computer and use it in GitHub Desktop.
A Simple bash alias for python virtualenv. :)
# Python virtual env alias
alias activate='test -d ENV && source ./ENV/bin/activate || echo "No Virtualenv in the current folder"'
alias mkenv='test -d ENV && echo "Already exists" || virtualenv --system-site-packages ENV; activate'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment