diff --git a/runcoms/zshrc b/runcoms/zshrc index 123e62b..9f2971d 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -34,6 +34,14 @@ func batt() { echo "power: $(cat $BAT_DIR/power_now)" } +func mkvirtualenv() { + virtualenv ~/.venvs/$1 +} + +func workon() { + . ~/.venvs/$1/bin/activate +} + func pan() { python -c "import $1; help($1)" }