1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 16:30:09 +00:00
Commit graph

4 commits

Author SHA1 Message Date
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à
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