Added .direnvc
This commit is contained in:
parent
cea96f2800
commit
ba4dcd1308
3 changed files with 22 additions and 3 deletions
9
.direnvrc
Normal file
9
.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…
Add table
Add a link
Reference in a new issue