• Brandon Sandrowicz's avatar
    Fixing virtualenvwrapper plugin for Ubuntu (and Debian) · 4161aa4f
    Brandon Sandrowicz authored
    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.
    4161aa4f
virtualenvwrapper.plugin.zsh 2.98 KB