-
-
Save progressify/13ed04fc7f05da731aea403a94849a78 to your computer and use it in GitHub Desktop.
A Simple bash alias for python virtualenv. :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python virtual env alias | |
alias mkenv='test -d myvenv && echo "Already exists" || python3 -m virtualenv -p python3 myvenv; activatenv' | |
alias activatenv='test -d myvenv && source ./myvenv/bin/activate || echo "No Virtualenv in the current folder"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment