mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-22 20:31:57 +00:00
20 lines
575 B
Markdown
20 lines
575 B
Markdown
|
# Ruby Version Manager plugin
|
||
|
|
||
|
This plugin adds some utility functions and completions for [Ruby Version Manager](https://rvm.io/).
|
||
|
|
||
|
To use it, add `rvm` to the plugins array in your zshrc file:
|
||
|
|
||
|
```zsh
|
||
|
plugins=(... rvm)
|
||
|
```
|
||
|
|
||
|
## Functions
|
||
|
| Alias | Command |
|
||
|
|----------------|----------------------|
|
||
|
| `rb18` | `rvm use ruby-1.8.7` |
|
||
|
| `rb19` | `rvm use ruby-1.9.3` |
|
||
|
| `rb20` | `rvm use ruby-2.0.0` |
|
||
|
| `rb21` | `rvm use ruby-2.1.2` |
|
||
|
| `rvm-update` | `rvm get head` |
|
||
|
| `gems` | `gem list` |
|