mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-24 04:14:07 +08:00

By default, `typeset` defines variables locally unless in the main scope. This is specially bad when using `omz plugin load`, which happens inside a function, so the declared variables don't continue being defined when the function finishes and the main scope reappears.
Ruby Version Manager plugin
This plugin adds some utility functions and completions for Ruby Version Manager.
To use it, add rvm
to the plugins array in your zshrc file:
plugins=(... rvm)
Aliases
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 |
rb22 |
rvm use ruby-2.2 |
rb23 |
rvm use ruby-2.3 |
rb24 |
rvm use ruby-2.4 |
rb25 |
rvm use ruby-2.5 |
rb26 |
rvm use ruby-2.6 |
rb27 |
rvm use ruby-2.7 |
rb30 |
rvm use ruby-3.0 |
rvm-update |
rvm get head |
gems |
gem list |
rvms |
rvm gemset |
Deprecated versions
At the time of writing this (2021-12-28), Ruby versions until 2.5 are EOL, and will be removed in the future.