mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 00:17:59 +00:00
Use the lazy virtualenvwrapper
This commit is contained in:
parent
98c545a102
commit
6e664690ef
@ -23,10 +23,10 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Load virtualenvwrapper into the shell session.
|
# Load virtualenvwrapper into the shell session.
|
||||||
if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then
|
if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper_lazy.sh] )); then
|
||||||
# Disable the virtualenv prompt.
|
# Disable the virtualenv prompt.
|
||||||
VIRTUAL_ENV_DISABLE_PROMPT=1
|
VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||||
source "$commands[virtualenvwrapper.sh]"
|
source "$commands[virtualenvwrapper_lazy.sh]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load pythonz into the shell session.
|
# Load pythonz into the shell session.
|
||||||
|
Loading…
Reference in New Issue
Block a user