From cea96f2800a093179b9345af711dc050abed0814 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Wed, 8 May 2019 11:12:45 -0400 Subject: [PATCH] Beginning switch to direnv from autoenv --- direnv/direnvrc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 direnv/direnvrc diff --git a/direnv/direnvrc b/direnv/direnvrc new file mode 100644 index 0000000..a2f9f95 --- /dev/null +++ b/direnv/direnvrc @@ -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 +}