mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
virtualenvwrapper: fix finding script on Ubuntu 19.10 (#8451)
This commit is contained in:
parent
a04728f168
commit
4e45e12dc3
1 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,13 @@ elif [[ -f "/usr/local/bin/virtualenvwrapper.sh" ]]; then
|
||||||
virtualenvwrapper="/usr/local/bin/virtualenvwrapper.sh"
|
virtualenvwrapper="/usr/local/bin/virtualenvwrapper.sh"
|
||||||
source "/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
|
elif [[ -f "/etc/bash_completion.d/virtualenvwrapper" ]]; then
|
||||||
function {
|
function {
|
||||||
setopt local_options
|
setopt local_options
|
||||||
|
|
Loading…
Reference in a new issue