mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01: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)