summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-06-27 13:08:07 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-06-27 13:08:07 +0200
commit950adb8580729d8d97ba8f7a9fd7f03590cded2f (patch)
treeab3290c1122c218f6d8f12ede10283e8cc161477 /bashrc
parentd1ac895c1204e0db01768688126372ba539fa148 (diff)
downloaddotfiles-950adb8580729d8d97ba8f7a9fd7f03590cded2f.tar.gz
dotfiles-950adb8580729d8d97ba8f7a9fd7f03590cded2f.tar.xz
dotfiles-950adb8580729d8d97ba8f7a9fd7f03590cded2f.zip
bashrc/common: fix virtual env path
Diffstat (limited to 'bashrc')
-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)"