mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
feat(rvm): add rb31
shortcut to use ruby 3.1 (#10745)
This commit is contained in:
parent
d4c939d61e
commit
93b348b172
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ plugins=(... rvm)
|
||||||
| `rb26` | `rvm use ruby-2.6` |
|
| `rb26` | `rvm use ruby-2.6` |
|
||||||
| `rb27` | `rvm use ruby-2.7` |
|
| `rb27` | `rvm use ruby-2.7` |
|
||||||
| `rb30` | `rvm use ruby-3.0` |
|
| `rb30` | `rvm use ruby-3.0` |
|
||||||
|
| `rb31` | `rvm use ruby-3.1` |
|
||||||
| `rvm-update` | `rvm get head` |
|
| `rvm-update` | `rvm get head` |
|
||||||
| `gems` | `gem list` |
|
| `gems` | `gem list` |
|
||||||
| `rvms` | `rvm gemset` |
|
| `rvms` | `rvm gemset` |
|
||||||
|
|
|
@ -26,6 +26,7 @@ rubies=(
|
||||||
26 'ruby-2.6'
|
26 'ruby-2.6'
|
||||||
27 'ruby-2.7'
|
27 'ruby-2.7'
|
||||||
30 'ruby-3.0'
|
30 'ruby-3.0'
|
||||||
|
31 'ruby-3.1'
|
||||||
)
|
)
|
||||||
|
|
||||||
for v in ${(k)rubies}; do
|
for v in ${(k)rubies}; do
|
||||||
|
|
Loading…
Reference in a new issue