7f96f4476c922b037eb287af2e727e17653db1ef

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

jenv: update README

Diff

 1diff --git a/plugins/jenv/README.md b/plugins/jenv/README.md
 2index 8899d21aea024ff4c3a0c95e03064092266af341..c043c626ec3f00f2c88bcf8fafbff5cc46e1a7ff 100644
 3--- a/plugins/jenv/README.md
 4+++ b/plugins/jenv/README.md
 5@@ -1,9 +1,9 @@
 6 # jenv plugin
 7 
 8 [jenv](https://www.jenv.be/) is a Java version manager similiar to [rbenv](https://github.com/rbenv/rbenv)
 9-and [pyenv]|(https://github.com/yyuu/pyenv).
10+and [pyenv](https://github.com/yyuu/pyenv).
11 
12-This plugin initializes jenv and adds provides the jenv_prompt_info function to add Java
13+This plugin initializes jenv and provides the `jenv_prompt_info` function to add Java
14 version information to prompts.
15 
16 To use, add `jenv` to your plugins array in your zshrc file:
17@@ -11,3 +11,17 @@ To use, add `jenv` to your plugins array in your zshrc file:
18 ```zsh
19 plugins=(... jenv)
20 ```
21+
22+## Theme example
23+
24+You can modify your `$PROMPT` or `$RPROMPT` variables to run `jenv_prompt_info`.
25+
26+For example:
27+```
28+PROMPT="%~$ "
29+RPROMPT='$(jenv_prompt_info)'
30+```
31+changes your prompt to:
32+```
33+~/java/project$ ▋                                       oracle64-1.6.0.39
34+```