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 Env utils | |
# Add this follow lines in your .zshrc or .bashrc | |
export WORKON_HOME=~/envs | |
# eg: $ envcreate env_name | |
envcreate() { | |
NAME=$1 | |
python -m venv $VENV_HOME/${NAME} | |
} |