From 3b9e794876a15407b22b759adedd6dd4866495a3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 31 Aug 2017 10:52:58 -0300 Subject: Source default virtualenv --- profile.dot.link | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profile.dot.link b/profile.dot.link index 83bfa09..c343fdc 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -209,6 +209,10 @@ fi # Python if [ -e "$HOME/apps/python" ]; then export PYTHONPATH="$HOME/apps/python" + + if [ -x "$HOME/apps/python/venv/bin/activate" ]; then + source $HOME/apps/python/venv/bin/activate + fi fi # Bash specifics -- cgit v1.2.3