mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-06 21:07:49 +08:00
Compare commits
2 Commits
0ded287e6f
...
2a11aaf4e6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a11aaf4e6 | ||
|
|
2babe619a3 |
@ -8,10 +8,14 @@ function {
|
|||||||
/usr/share/bash-completion/completions/virtualenvwrapper \
|
/usr/share/bash-completion/completions/virtualenvwrapper \
|
||||||
$HOME/.local/bin/virtualenvwrapper.sh
|
$HOME/.local/bin/virtualenvwrapper.sh
|
||||||
do
|
do
|
||||||
if [[ -f "$virtualenvwrapper" ]]; then
|
if [[ -f "$virtualenvwrapper" ]]; then
|
||||||
source "$virtualenvwrapper"
|
if [[ $VIRTUALENVWRAPPER_NO_LAZY -eq 1 ]] && [[ $(echo $virtualenvwrapper | grep lazy) ]]; then
|
||||||
return
|
true
|
||||||
|
else
|
||||||
|
source "$virtualenvwrapper"
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
print "[oh-my-zsh] virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh.\n"\
|
print "[oh-my-zsh] virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh.\n"\
|
||||||
"Please install with \`pip install virtualenvwrapper\`" >&2
|
"Please install with \`pip install virtualenvwrapper\`" >&2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user