From 66d6682989a2781dc86f712c88cf487a32078297 Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Sun, 16 Oct 2022 15:08:35 -0500 Subject: [PATCH] Prefer lazy virtualenvwrapper --- zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index ad2c998..f27b63f 100644 --- a/zshrc +++ b/zshrc @@ -90,7 +90,9 @@ if [[ -s "$NVM_DIR/bash_completion" ]]; then fi # Virtualenvwrapper -if [[ -s "$HOME/.local/bin/virtualenvwrapper.sh" ]]; then +if [[ -s "$HOME/.local/bin/virtualenvwrapper_lazy.sh" ]]; then + source "$HOME/.local/bin/virtualenvwrapper_lazy.sh" +elif [[ -s "$HOME/.local/bin/virtualenvwrapper.sh" ]]; then source "$HOME/.local/bin/virtualenvwrapper.sh" fi