From fea08d4e5066c4f50fd7cfec18c3b707ae47cfbd Mon Sep 17 00:00:00 2001 From: Humberto Morales Date: Tue, 2 Sep 2014 16:29:18 -0700 Subject: [PATCH] [Fix #669] Do not use lazy virtualenvwrapper Lazy virtualenvwrapper completion crashes Zsh. Signed-off-by: Sorin Ionescu --- modules/python/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/python/init.zsh b/modules/python/init.zsh index 663f394..da78ea7 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -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 #