Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

jenv plugin

jenv is a Java version manager similiar to rbenv and pyenv.

This plugin initializes jenv and 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)

Theme example

You can modify your $PROMPT or $RPROMPT variables to run jenv_prompt_info.

For example:

PROMPT="%~$ "

changes your prompt to:

~/java/project$ ▋                                       oracle64-
You can’t perform that action at this time.