Skip to content

Instantly share code, notes, and snippets.

View rpalo's full-sized avatar

Ryan Palo rpalo

View GitHub Profile
@rpalo
rpalo / venvwrapper.sh
Last active July 25, 2017 22:17 — forked from iley/venvwrapper.sh
Like virtualenvwrapper, but for venv, included with Python 3.4 and above!
if [ -z "$WORKON_HOME" ]; then
export WORKON_HOME="$HOME/.virtualenvs"
fi
workon () {
virtualenv="$1"
if [ -z "$virtualenv" ]; then
echo "Usage: workon env_name" >&2
return 1
fi