This commit is contained in:
Johann Rohwer 2025-12-11 19:47:19 +01:00 committed by GitHub
commit 0ded287e6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,9 +9,13 @@ function {
$HOME/.local/bin/virtualenvwrapper.sh
do
if [[ -f "$virtualenvwrapper" ]]; then
if [[ $VIRTUALENVWRAPPER_NO_LAZY -eq 1 ]] && [[ $(echo $virtualenvwrapper | grep lazy) ]]; then
true
else
source "$virtualenvwrapper"
return
fi
fi
done
print "[oh-my-zsh] virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh.\n"\
"Please install with \`pip install virtualenvwrapper\`" >&2