diff --git a/zsh/functions b/zsh/functions index 79ac6ef..e3ad15b 100644 --- a/zsh/functions +++ b/zsh/functions @@ -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 }