my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.0 KiB

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