Rename virtual env lookup folder
This commit is contained in:
parent
d1b0d7818b
commit
4fb72a0337
|
@ -1,8 +1,8 @@
|
|||
function activate_virtualenv() {
|
||||
if [ -f env/bin/activate ]; then . env/bin/activate;
|
||||
elif [ -f ../env/bin/activate ]; then . ../env/bin/activate;
|
||||
elif [ -f ../../env/bin/activate ]; then . ../../env/bin/activate;
|
||||
elif [ -f ../../../env/bin/activate ]; then . ../../../env/bin/activate;
|
||||
if [ -f venv/bin/activate ]; then . venv/bin/activate;
|
||||
elif [ -f ../venv/bin/activate ]; then . ../venv/bin/activate;
|
||||
elif [ -f ../../venv/bin/activate ]; then . ../../venv/bin/activate;
|
||||
elif [ -f ../../../venv/bin/activate ]; then . ../../../venv/bin/activate;
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user