From 6e664690ef4ff5e0cec8133dd2fbf891a871eea5 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Mon, 3 Sep 2012 10:37:56 -0400 Subject: [PATCH] Use the lazy virtualenvwrapper --- 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 60d7e2e..13f8dee 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -23,10 +23,10 @@ else fi # 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. VIRTUAL_ENV_DISABLE_PROMPT=1 - source "$commands[virtualenvwrapper.sh]" + source "$commands[virtualenvwrapper_lazy.sh]" fi # Load pythonz into the shell session.