[Fix #669] Do not use lazy virtualenvwrapper

Lazy virtualenvwrapper completion crashes Zsh.

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

@ -35,14 +35,14 @@ if (( ! $+commands[python] && ! $+commands[pyenv] )); then
fi
# 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.
export WORKON_HOME="$HOME/.virtualenvs"
# Disable the virtualenv prompt.
VIRTUAL_ENV_DISABLE_PROMPT=1
source "$commands[virtualenvwrapper_lazy.sh]"
source "$commands[virtualenvwrapper.sh]"
fi
#

Loading…
Cancel
Save