Skip to content

Instantly share code, notes, and snippets.

@antiboredom
Created February 27, 2020 16:56
Show Gist options
  • Save antiboredom/4152ec9001d8b701725551d7edfcb4f8 to your computer and use it in GitHub Desktop.
Save antiboredom/4152ec9001d8b701725551d7edfcb4f8 to your computer and use it in GitHub Desktop.
Createa virtual environment or activate an existing one.
alias ve="if [ -d venv ]; then source venv/bin/activate; else virtualenv venv -p python3;source venv/bin/activate; fi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment