1
0
Fork 0

don't overwrite the WORKON_HOME env var if the user has already set it

pull/598-skip-virtualenv-init
eukaryote 10 years ago
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…
Cancel
Save