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
This commit is contained in:
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

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 FOUND_JENV=0
for jenvdir in $jenvdirs; do for jenvdir in $jenvdirs; do