Last active
August 29, 2015 14:17
-
-
Save flyte/20c397e0152fd0cf2357 to your computer and use it in GitHub Desktop.
Add this to .bashrc to make functions to create and enable virtualenvs based on the current directory name.
This file contains hidden or 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
mkenv() { | |
mkvirtualenv $(basename $(pwd)) | |
} | |
wkon() { | |
workon $(basename $(pwd)) | |
} | |
rmenv() { | |
rmvirtualenv $(basename $(pwd)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment