mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-10-16 11:40:46 +00:00
Compare commits
2 commits
d2b8022386
...
f7bd36325a
Author | SHA1 | Date | |
---|---|---|---|
|
f7bd36325a | ||
|
2babe619a3 |
1 changed files with 7 additions and 3 deletions
|
@ -9,9 +9,13 @@ function {
|
|||
$HOME/.local/bin/virtualenvwrapper.sh
|
||||
do
|
||||
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