mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-10-31 23:11:13 +00:00
don't overwrite the WORKON_HOME env var if the user has already set it
This commit is contained in:
parent
7629171239
commit
b2d84afacf
@ -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 New Issue
Block a user