[Fix #669] Do not use lazy virtualenvwrapper

Lazy virtualenvwrapper completion crashes Zsh.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
This commit is contained in:
Humberto Morales 2014-09-02 16:29:18 -07:00 committed by Sorin Ionescu
parent d3f1441481
commit fea08d4e50
1 changed files with 2 additions and 2 deletions

View File

@ -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
#