From 950adb8580729d8d97ba8f7a9fd7f03590cded2f Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 27 Jun 2012 13:08:07 +0200 Subject: bashrc/common: fix virtual env path --- bashrc/common/virtualenv.sh | 3 +++ 1 file changed, 3 insertions(+) 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)" -- cgit v1.2.3