mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-10-16 11:40:46 +00:00
Compare commits
3 commits
f7bd36325a
...
d2b8022386
Author | SHA1 | Date | |
---|---|---|---|
|
d2b8022386 | ||
|
f11cc8fea1 | ||
|
2babe619a3 |
2 changed files with 8 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
certifi==2024.8.30
|
||||
charset-normalizer==3.3.2
|
||||
idna==3.9
|
||||
idna==3.10
|
||||
PyYAML==6.0.2
|
||||
requests==2.32.3
|
||||
semver==3.0.2
|
||||
|
|
|
@ -8,10 +8,14 @@ function {
|
|||
/usr/share/bash-completion/completions/virtualenvwrapper \
|
||||
$HOME/.local/bin/virtualenvwrapper.sh
|
||||
do
|
||||
if [[ -f "$virtualenvwrapper" ]]; then
|
||||
source "$virtualenvwrapper"
|
||||
return
|
||||
if [[ -f "$virtualenvwrapper" ]]; then
|
||||
if [[ $VIRTUALENVWRAPPER_NO_LAZY -eq 1 ]] && [[ $(echo $virtualenvwrapper | grep lazy) ]]; then
|
||||
true
|
||||
else
|
||||
source "$virtualenvwrapper"
|
||||
return
|
||||
fi
|
||||
fi
|
||||
done
|
||||
print "[oh-my-zsh] virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh.\n"\
|
||||
"Please install with \`pip install virtualenvwrapper\`" >&2
|
||||
|
|
Loading…
Reference in a new issue