Fix: Don't force ~/.virtualenvs as WORKON_HOME
This commit is contained in:
parent
f2a826e963
commit
084433428a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue