]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/rbenv/README.md
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / rbenv / README.md
1 # rbenv plugin
2
3 The primary job of this plugin is to provide `rbenv_prompt_info` which can be added to your theme to include Ruby
4 version and gemset information into your prompt.
5
6 Some functionality of this plugin will not work unless you also have the rbenv plugin *gemset* installed.
7 https://github.com/jf/rbenv-gemset
8
9 To use it, add `rbenv` to the plugins array in your zshrc file:
10 ```zsh
11 plugins=(... rbenv)
12 ```
13
14 ## Alias
15
16 | Alias          | Command             | Description                      |
17 |----------------|---------------------|----------------------------------|
18 | rubies         | `rbenv versions`    | List the installed Ruby versions |
19 | gemsets        | `rbenv gemset list` | List the existing gemsets        |
20
21 ## Functions
22
23 * `current_ruby`: The version of Ruby currently being used.
24 * `current_gemset`: The name of the current gemset.
25 * `gems`: Lists installed gems with enhanced formatting and color.
26 * `rbenv_prompt_info`: For adding information to your prompt. Format: `<ruby version>@<current gemset>`.