summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bashrc/common/virtualenv.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bashrc/common/virtualenv.sh b/bashrc/common/virtualenv.sh
index 4bacadc..7ba48b9 100644
--- a/bashrc/common/virtualenv.sh
+++ b/bashrc/common/virtualenv.sh
@@ -1,3 +1,6 @@
if hash "virtualenvwrapper.sh" 2>/dev/null; then
source $(which virtualenvwrapper.sh)
fi
+
+# build absolut path (needed for prompt)
+export WORKON_HOME="$(cd "${WORKON_HOME}" 2>&1 >/dev/null; pwd -P)"