add brew install path to search

recent `brew install jenv` installs to `/usr/local/bin/jenv`, auto-discover it for recent brew installs to avoid secondary, slower search
pull/7541/head
Jesse Farinacci 2019-01-22 10:09:07 -05:00 committed by GitHub
parent c494869632
commit 12c516822c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
jenvdirs=("$HOME/.jenv" "/usr/local/jenv" "/opt/jenv")
jenvdirs=("$HOME/.jenv" "/usr/local" "/usr/local/jenv" "/opt/jenv")
FOUND_JENV=0
for jenvdir in $jenvdirs; do