aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-31 10:52:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-31 10:52:58 -0300
commit3b9e794876a15407b22b759adedd6dd4866495a3 (patch)
tree5d963fb4ec4c9f53c0512c154f76640ba2bc6abd
parentd7ff28222e2607697430678805eff917ac21dcc7 (diff)
downloadprofile-3b9e794876a15407b22b759adedd6dd4866495a3.tar.gz
profile-3b9e794876a15407b22b759adedd6dd4866495a3.tar.bz2
Source default virtualenv
-rw-r--r--profile.dot.link4
1 files changed, 4 insertions, 0 deletions
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