Beginning switch to direnv from autoenv
This commit is contained in:
parent
1f09661c25
commit
cea96f2800
1 changed files with 9 additions and 0 deletions
9
direnv/direnvrc
Normal file
9
direnv/direnvrc
Normal 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
|
||||
}
|
Loading…
Reference in a new issue