1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-02-11 05:39:45 +08:00
This commit is contained in:
Johann Rohwer 2026-02-10 20:24:33 +01:00 committed by GitHub
commit 5ea77c0f88
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