From 93b348b172506be46000f3be1cebda76d4c71999 Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 7 Mar 2022 03:58:18 -0600 Subject: [PATCH] feat(rvm): add `rb31` shortcut to use ruby 3.1 (#10745) --- plugins/rvm/README.md | 1 + plugins/rvm/rvm.plugin.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/rvm/README.md b/plugins/rvm/README.md index 258c89420..576b037b0 100644 --- a/plugins/rvm/README.md +++ b/plugins/rvm/README.md @@ -23,6 +23,7 @@ plugins=(... rvm) | `rb26` | `rvm use ruby-2.6` | | `rb27` | `rvm use ruby-2.7` | | `rb30` | `rvm use ruby-3.0` | +| `rb31` | `rvm use ruby-3.1` | | `rvm-update` | `rvm get head` | | `gems` | `gem list` | | `rvms` | `rvm gemset` | diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh index 864389ba8..2a091d019 100644 --- a/plugins/rvm/rvm.plugin.zsh +++ b/plugins/rvm/rvm.plugin.zsh @@ -26,6 +26,7 @@ rubies=( 26 'ruby-2.6' 27 'ruby-2.7' 30 'ruby-3.0' + 31 'ruby-3.1' ) for v in ${(k)rubies}; do