Beginning switch to direnv from autoenv

This commit is contained in:
Alex Kelly 2019-05-08 11:12:45 -04:00
parent 1f09661c25
commit cea96f2800

9
direnv/direnvrc Normal file
View file

@ -0,0 +1,9 @@
layout_virtualenv() {
local venv_path="$1"
source ${venv_path}/bin/activate
}
layout_virtualenvwrapper() {
local venv_path="${WORKON_HOME}/$1"
layout_virtualenv $venv_path
}