added oh-my-ssh back as raw code, not as a submodule.
This commit is contained in:
parent
23fe3ee6d5
commit
f663947bfc
1195 changed files with 126994 additions and 0 deletions
28
.zsh/oh-my-zsh/plugins/rbenv/README.md
Normal file
28
.zsh/oh-my-zsh/plugins/rbenv/README.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# rbenv plugin
|
||||
|
||||
The primary job of this plugin is to provide `rbenv_prompt_info` which can be added to your theme to include Ruby
|
||||
version and gemset information into your prompt.
|
||||
|
||||
Additionally, this plugin provides completion for the `rbenv` command. See also <https://github.com/rbenv/rbenv/#shell-completions>.
|
||||
|
||||
Some functionality of this plugin will not work unless you also have the rbenv plugin *gemset* installed.
|
||||
https://github.com/jf/rbenv-gemset
|
||||
|
||||
To use it, add `rbenv` to the plugins array in your zshrc file:
|
||||
```zsh
|
||||
plugins=(... rbenv)
|
||||
```
|
||||
|
||||
## Alias
|
||||
|
||||
| Alias | Command | Description |
|
||||
|----------------|---------------------|----------------------------------|
|
||||
| rubies | `rbenv versions` | List the installed Ruby versions |
|
||||
| gemsets | `rbenv gemset list` | List the existing gemsets |
|
||||
|
||||
## Functions
|
||||
|
||||
* `current_ruby`: The version of Ruby currently being used.
|
||||
* `current_gemset`: The name of the current gemset.
|
||||
* `gems`: Lists installed gems with enhanced formatting and color.
|
||||
* `rbenv_prompt_info`: For adding information to your prompt. Format: `<ruby version>@<current gemset>`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue