mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 10:19:51 +00:00
`brew --prefix jenv` doesn't ensure jenv is installed so we have to recheck if the bin folder is still there.
jenv plugin
jenv is a Java version manager similiar to rbenv and [pyenv]|(https://github.com/yyuu/pyenv).
This plugin initializes jenv and adds provides the jenv_prompt_info function to add Java version information to prompts.
To use, add jenv to your plugins array in your zshrc file:
plugins=(... jenv)