mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
Added another path for virtualenvwrapper plugin
When you install python via brew on OSX, pip is installed into /usr/local/share/python/ and all packages installed with this pip are installed here.
This commit is contained in:
parent
d05b2010ff
commit
6f92745761
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
WRAPPER_FOUND=0
|
WRAPPER_FOUND=0
|
||||||
for wrapsource in "/usr/bin/virtualenvwrapper.sh" "/usr/local/bin/virtualenvwrapper.sh" "/etc/bash_completion.d/virtualenvwrapper" ; do
|
for wrapsource in "/usr/bin/virtualenvwrapper.sh" "/usr/local/bin/virtualenvwrapper.sh" "/usr/local/share/python/virtualenvwrapper.sh" "/etc/bash_completion.d/virtualenvwrapper" ; do
|
||||||
if [[ -e $wrapsource ]] ; then
|
if [[ -e $wrapsource ]] ; then
|
||||||
WRAPPER_FOUND=1
|
WRAPPER_FOUND=1
|
||||||
source $wrapsource
|
source $wrapsource
|
||||||
|
|
Loading…
Reference in a new issue