don't overwrite the WORKON_HOME env var if the user has already set it
This commit is contained in:
parent
7629171239
commit
b2d84afacf
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ fi
|
|||
zstyle -t ':prezto:module:python' skip-virtualenvwrapper-init
|
||||
if (( $? && $+commands[virtualenvwrapper.sh] )); then
|
||||
# Set the directory where virtual environments are stored.
|
||||
export WORKON_HOME="$HOME/.virtualenvs"
|
||||
export WORKON_HOME="${WORKON_HOME:-$HOME/.virtualenvs}"
|
||||
|
||||
# Disable the virtualenv prompt.
|
||||
VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||
|
|
Loading…
Reference in a new issue