Silent exit when virtualenvwrapper is not found

This commit is contained in:
Stu Zhao 2017-02-10 12:30:07 -05:00
commit 58faa08238

View file

@ -14,8 +14,6 @@ elif [[ -f "/etc/bash_completion.d/virtualenvwrapper" ]]; then
source "/etc/bash_completion.d/virtualenvwrapper"
}
else
print "[oh-my-zsh] virtualenvwrapper plugin: Cannot find ${virtualenvwrapper}.\n"\
"Please install with \`pip install virtualenvwrapper\`" >&2
return
fi
if ! type workon &>/dev/null; then