Skip to content

Commit

Permalink
virtualenvwrapper: fix finding script on Ubuntu 19.10 (#8451)
Browse files Browse the repository at this point in the history
  • Loading branch information
beruic authored and mcornella committed Jan 19, 2020
1 parent a04728f commit 4e45e12
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh
Expand Up @@ -22,6 +22,13 @@ elif [[ -f "/usr/local/bin/virtualenvwrapper.sh" ]]; then
virtualenvwrapper="/usr/local/bin/virtualenvwrapper.sh"
source "/usr/local/bin/virtualenvwrapper.sh"
}
elif [[ -f "/usr/share/virtualenvwrapper/virtualenvwrapper.sh" ]]; then
function {
setopt local_options
unsetopt equals
virtualenvwrapper="/usr/share/virtualenvwrapper/virtualenvwrapper.sh"
source "/usr/share/virtualenvwrapper/virtualenvwrapper.sh"
}
elif [[ -f "/etc/bash_completion.d/virtualenvwrapper" ]]; then
function {
setopt local_options
Expand Down

0 comments on commit 4e45e12

Please sign in to comment.