1
0
Fork 0

[Fix #669] Do not use lazy virtualenvwrapper

Lazy virtualenvwrapper completion crashes Zsh.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
pull/583/merge
Humberto Morales 10 years ago committed by Sorin Ionescu
parent d3f1441481
commit fea08d4e50

@ -35,14 +35,14 @@ if (( ! $+commands[python] && ! $+commands[pyenv] )); then
fi fi
# Load virtualenvwrapper into the shell session. # Load virtualenvwrapper into the shell session.
if (( $+commands[virtualenvwrapper_lazy.sh] )); then if (( $+commands[virtualenvwrapper.sh] )); then
# Set the directory where virtual environments are stored. # Set the directory where virtual environments are stored.
export WORKON_HOME="$HOME/.virtualenvs" export WORKON_HOME="$HOME/.virtualenvs"
# Disable the virtualenv prompt. # Disable the virtualenv prompt.
VIRTUAL_ENV_DISABLE_PROMPT=1 VIRTUAL_ENV_DISABLE_PROMPT=1
source "$commands[virtualenvwrapper_lazy.sh]" source "$commands[virtualenvwrapper.sh]"
fi fi
# #

Loading…
Cancel
Save