From 4fb72a0337c8b5469520e07f50f47da32014b31d Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Wed, 4 May 2016 11:27:31 -0400 Subject: [PATCH] Rename virtual env lookup folder --- zsh/functions | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }