robbyrussell/oh-my-zsh — pull request #2819 by bsandrow (2014-05-20 13:51:11+00:00)
Title: Fixing virtualenvwrapper plugin for Ubuntu (and Debian)

Ubuntu and Debian store the system-installed `virtualenvwrapper` in
`/etc/bash_completion.d/virtualenvwrapper,` so that it gets automatically sourced
at startup in Bash. By not putting it somewhere in `$PATH`, they end up excluding
others (e.g. Zsh) that might want to use that file. Oops!

The virtualenvwrapper plugin should account for this so that Ubuntu (or Debian)
users don't end up with this message:
```
zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh. Please install with `pip install virtualenvwrapper`.
```
even when they have a virtualenvwrapper installed to a known location.