Last active
August 16, 2018 18:55
-
-
Save BrunoCodeman/0140b3008cee3a79a63099afd2695c77 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
## Python | |
# Activate Python Virtualenv | |
activate_virtualenv() { | |
source ~/.venvs/$1/bin/activate | |
} | |
# Create new Python Virtualenv with a given name | |
create_virtualenv() { | |
/usr/bin/python3 -m venv ~/.venvs/$1 | |
} | |
# Show all Virtualens available | |
show_venvs() { | |
ls $HOME/.venvs/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tks!