From edbd86cd956266ee80f6b128588f5673f0cdb3c7 Mon Sep 17 00:00:00 2001 From: Sayan Roy Date: Sun, 7 Jun 2020 12:14:55 +0530 Subject: [PATCH 1/4] Updating some gem command reference # Updating some gem command reference gem_info,gem help , etc. --- plugins/ruby/ruby.plugin.zsh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/ruby/ruby.plugin.zsh b/plugins/ruby/ruby.plugin.zsh index 177b35b31..88e769d39 100644 --- a/plugins/ruby/ruby.plugin.zsh +++ b/plugins/ruby/ruby.plugin.zsh @@ -12,3 +12,14 @@ alias rb="ruby" alias gin="gem install" alias gun="gem uninstall" alias gli="gem list" +alias gi="gem info" +alias giall="gem info --all" +alias gca="gem cert --add" +alias gcr="gem cert --remove" +alias gcb="gem cert --build" +alias gclup="gem cleanup -n" +alias ggi="gem generate_index" +alias gh="gem help" +alias gl="gem lock" +alias go="gem open" +alias goe="gem open -e" From c268d176bf5e1efbf31bb1f3c00c182c1b369e9b Mon Sep 17 00:00:00 2001 From: Sayan Roy Date: Tue, 9 Jun 2020 00:48:50 +0530 Subject: [PATCH 2/4] Updating the README.md --- plugins/ruby/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/ruby/README.md b/plugins/ruby/README.md index ad2755bbf..a4a9c5036 100644 --- a/plugins/ruby/README.md +++ b/plugins/ruby/README.md @@ -18,3 +18,14 @@ plugins=(... ruby) | gin | `gem install` | Install a gem into the local repository | | gun | `gem uninstall` | Uninstall gems from the local repository | | gli | `gem list` | Display gems installed locally | +| gi | `gem info` | Show information for the given gem | +| giall | `gem info --all` | Display all gem versions | +| gca | `gem cert --add` | Add a trusted certificate | +| gcr | `gem cert --remove` | Remove a trusted certificate | +| gcb | `gem cert --build` | Build private key and self-signed certificate | +| gclup | `gem cleanup -n` | Do not uninstall gem | +| ggi | `gem generate_index` | Generate index file for gem server | +| gh | `gem help` | Provide additional help | +| gl | `gem lock` | Generate a lockdown list of gems | +| go | `gem open` | Open gem source in default editor | +| goe | `gem open -e` | Open gem sources in preferred editor | From e751d2519d586a2c022beeb0b40dfe9b7a1ed6eb Mon Sep 17 00:00:00 2001 From: Sayan Roy Date: Wed, 1 Jul 2020 08:58:27 +0530 Subject: [PATCH 3/4] spacing changed --- plugins/ruby/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ruby/README.md b/plugins/ruby/README.md index a4a9c5036..a2de11991 100644 --- a/plugins/ruby/README.md +++ b/plugins/ruby/README.md @@ -19,7 +19,7 @@ plugins=(... ruby) | gun | `gem uninstall` | Uninstall gems from the local repository | | gli | `gem list` | Display gems installed locally | | gi | `gem info` | Show information for the given gem | -| giall | `gem info --all` | Display all gem versions | +| giall | `gem info --all` | Display all gem versions | | gca | `gem cert --add` | Add a trusted certificate | | gcr | `gem cert --remove` | Remove a trusted certificate | | gcb | `gem cert --build` | Build private key and self-signed certificate | From f83bb65d47e5c0a238f4950294eeaeaa12738ce4 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Tue, 19 Oct 2021 10:50:41 -0700 Subject: [PATCH 4/4] Swapping gh with ghlp as 'gh' is reserved for the Github CLI. #9005 --- plugins/ruby/README.md | 3 ++- plugins/ruby/ruby.plugin.zsh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/ruby/README.md b/plugins/ruby/README.md index a2de11991..d2beeb4b3 100644 --- a/plugins/ruby/README.md +++ b/plugins/ruby/README.md @@ -25,7 +25,8 @@ plugins=(... ruby) | gcb | `gem cert --build` | Build private key and self-signed certificate | | gclup | `gem cleanup -n` | Do not uninstall gem | | ggi | `gem generate_index` | Generate index file for gem server | -| gh | `gem help` | Provide additional help | +| ghlp | `gem help` | Provide additional help | | gl | `gem lock` | Generate a lockdown list of gems | | go | `gem open` | Open gem source in default editor | | goe | `gem open -e` | Open gem sources in preferred editor | + diff --git a/plugins/ruby/ruby.plugin.zsh b/plugins/ruby/ruby.plugin.zsh index 88e769d39..a7583497c 100644 --- a/plugins/ruby/ruby.plugin.zsh +++ b/plugins/ruby/ruby.plugin.zsh @@ -19,7 +19,7 @@ alias gcr="gem cert --remove" alias gcb="gem cert --build" alias gclup="gem cleanup -n" alias ggi="gem generate_index" -alias gh="gem help" +alias ghlp="gem help" alias gl="gem lock" alias go="gem open" alias goe="gem open -e"