diff options
author | John Burwell <meaux@cockamamy.net> | 2016-04-03 01:08:06 -0400 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-08-19 19:12:24 +0200 |
commit | e8b9958926c6e41fc681983bf4ec7d96e21e27db (patch) | |
tree | 05dc281488ec553a75a04c4ee99d6d7d39acf17b /lib/prompt_info_functions.zsh | |
parent | ff6b4c835be54a9529a88849b83284aee61a7126 (diff) | |
download | zsh-e8b9958926c6e41fc681983bf4ec7d96e21e27db.tar.gz zsh-e8b9958926c6e41fc681983bf4ec7d96e21e27db.tar.bz2 zsh-e8b9958926c6e41fc681983bf4ec7d96e21e27db.zip |
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
Diffstat (limited to 'lib/prompt_info_functions.zsh')
-rw-r--r-- | lib/prompt_info_functions.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prompt_info_functions.zsh b/lib/prompt_info_functions.zsh index 335c02a3d..1d5c23e41 100644 --- a/lib/prompt_info_functions.zsh +++ b/lib/prompt_info_functions.zsh @@ -12,7 +12,7 @@ # Real implementations will be used when the respective plugins are loaded function chruby_prompt_info hg_prompt_info pyenv_prompt_info \ rbenv_prompt_info svn_prompt_info vi_mode_prompt_info \ - virtualenv_prompt_info { + virtualenv_prompt_info jenv_prompt_info { return 1 } |