mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Adding "/usr/local/opt/pyenv" to list of search directories. Brew uses
that folder and without it `brew --prefix pyenv` is used, which is much slower.
This commit is contained in:
parent
37c2d0ddd7
commit
e9d25bb997
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ _pyenv-from-homebrew-installed() {
|
|||
}
|
||||
|
||||
FOUND_PYENV=0
|
||||
pyenvdirs=("$HOME/.pyenv" "/usr/local/pyenv" "/opt/pyenv")
|
||||
pyenvdirs=("$HOME/.pyenv" "/usr/local/pyenv" "/opt/pyenv" "/usr/local/opt/pyenv")
|
||||
|
||||
for pyenvdir in "${pyenvdirs[@]}" ; do
|
||||
if [ -d $pyenvdir/bin -a $FOUND_PYENV -eq 0 ] ; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue