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
This commit is contained in:
John Burwell 2016-04-03 01:08:06 -04:00 committed by Marc Cornellà
commit e8b9958926
3 changed files with 37 additions and 1 deletions

3
plugins/jenv/README.md Normal file
View file

@ -0,0 +1,3 @@
# jenv oh-my-zsh plugin
[jenv](http://www.jenv.be/) is a Java version manager similiar to [rbenv](http://rbenv.org/) 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.