1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 18:31:59 +00:00
ohmyzsh/plugins/rvm
Marc Cornellà d3bb52d7d8
style: declare globals properly
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.
2022-01-05 09:23:54 +01:00
..
README.md refactor(rvm): clean up rb* utilities definition and add more versions 2021-12-28 22:13:59 +01:00
rvm.plugin.zsh style: declare globals properly 2022-01-05 09:23:54 +01:00

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.