Added .direnvc

This commit is contained in:
Alex Kelly 2020-04-30 09:31:20 -04:00
parent cea96f2800
commit ba4dcd1308
3 changed files with 22 additions and 3 deletions

9
.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
}