mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Silent exit when virtualenvwrapper is not found
This commit is contained in:
parent
d2725d44fc
commit
58faa08238
1 changed files with 0 additions and 2 deletions
|
|
@ -14,8 +14,6 @@ elif [[ -f "/etc/bash_completion.d/virtualenvwrapper" ]]; then
|
||||||
source "/etc/bash_completion.d/virtualenvwrapper"
|
source "/etc/bash_completion.d/virtualenvwrapper"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
print "[oh-my-zsh] virtualenvwrapper plugin: Cannot find ${virtualenvwrapper}.\n"\
|
|
||||||
"Please install with \`pip install virtualenvwrapper\`" >&2
|
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if ! type workon &>/dev/null; then
|
if ! type workon &>/dev/null; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue