mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 02:19:25 +00:00
Set the virtualenvwrapper $WORKON_HOME variable
This commit is contained in:
@ -23,9 +23,13 @@ else
|
||||
fi
|
||||
|
||||
# Load virtualenvwrapper into the shell session.
|
||||
if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper_lazy.sh] )); then
|
||||
if (( $+commands[virtualenvwrapper_lazy.sh] )); then
|
||||
# Set the directory where virtual environments are stored.
|
||||
export WORKON_HOME=$HOME/.virtualenvs
|
||||
|
||||
# Disable the virtualenv prompt.
|
||||
VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||
|
||||
source "$commands[virtualenvwrapper_lazy.sh]"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user