Commit Graph

7 Commits

Author SHA1 Message Date
Jesse Farinacci 12c516822c
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
2019-01-22 10:09:07 -05:00
Marc Cornellà 7f96f4476c
jenv: update README 2018-10-01 12:14:15 +02:00
Marc Cornellà fceae90219
jenv: fix brew directory search
`brew --prefix jenv` doesn't ensure jenv is installed so we have to recheck if the
bin folder is still there.
2018-08-19 22:33:44 +02:00
Marc Cornellà 3edd424af2
jenv: small fix 2018-08-19 19:43:35 +02:00
Marc Cornellà 873dc9cfb8 jenv: update README 2018-08-19 19:41:49 +02:00
Marc Cornellà 3a822bb5fd jenv: refactor and optimize logic 2018-08-19 19:36:46 +02:00
John Burwell e8b9958926 Add jenv plugin
Initializes jenv and provides the jenv_prompt_info funtion to add
Java version information to prompts.  This function is stubbed in
prompt_info_functions script to allow it to be safely called
regardless of whether or not the jenv plugin is loaded.

It also splits detection of the plugin/versions directory and bin directory
to suppport the way Homebrew splits the jenv bin and data directories
2018-08-19 19:12:24 +02:00