Fix: Don't force ~/.virtualenvs as WORKON_HOME

This commit is contained in:
Jacob Magnusson 2015-06-26 15:19:21 +02:00
parent f2a826e963
commit 084433428a

View file

@ -37,7 +37,9 @@ fi
# Load virtualenvwrapper into the shell session.
if (( $+commands[virtualenvwrapper.sh] )); then
# Set the directory where virtual environments are stored.
export WORKON_HOME="$HOME/.virtualenvs"
if [[ -z $WORKON_HOME ]]; then
export WORKON_HOME="$HOME/.virtualenvs"
fi
# Disable the virtualenv prompt.
VIRTUAL_ENV_DISABLE_PROMPT=1