Merge pull request #1458 from ranman/master

lazyload virtualenvwrapper
This commit is contained in:
Robby Russell 2012-12-04 06:33:41 -08:00
commit 43ca5d8cbe

View File

@ -1,4 +1,4 @@
wrapsource=`which virtualenvwrapper.sh` wrapsource=`which virtualenvwrapper_lazy.sh`
if [[ -f "$wrapsource" ]]; then if [[ -f "$wrapsource" ]]; then
source $wrapsource source $wrapsource
@ -36,5 +36,5 @@ if [[ -f "$wrapsource" ]]; then
} }
fi fi
else else
print "zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh. Please install with \`pip install virtualenvwrapper\`." print "zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper_lazy.sh. Please install with \`pip install virtualenvwrapper\`."
fi fi