From 8c1495a18e5ba496837bf3978300519edadffaff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Wed, 20 Oct 2021 17:09:38 +0200 Subject: [PATCH] fix(ruby)!: rename aliases that start with `g` to `ge` BREAKING CHANGE: all `gem` aliases that started with `g` now start with `ge` to fix conflicting names with the `git` plugin. Also, the `ghlp` alias is now renamed `geh`. Have a look at the plugin README for more information. Fixes #10320 --- plugins/ruby/README.md | 38 ++++++++++++++++++------------------ plugins/ruby/ruby.plugin.zsh | 28 +++++++++++++------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/plugins/ruby/README.md b/plugins/ruby/README.md index 76afc79f6..59594ade7 100644 --- a/plugins/ruby/README.md +++ b/plugins/ruby/README.md @@ -10,22 +10,22 @@ plugins=(... ruby) ## Aliases -| Alias | Command | Description | -|-------|----------------------------------------|------------------------------------------------------| -| rb | `ruby` | The Ruby command | -| sgem | `sudo gem` | Run sudo gem on the system ruby, not the active ruby | -| rfind | `find . -name "*.rb" \| xargs grep -n` | Find ruby file | -| 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 | -| 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 | +| Alias | Command | Description | +|--------|----------------------------------------|------------------------------------------------------| +| rb | `ruby` | The Ruby command | +| sgem | `sudo gem` | Run sudo gem on the system ruby, not the active ruby | +| rfind | `find . -name "*.rb" \| xargs grep -n` | Find ruby file | +| gein | `gem install` | Install a gem into the local repository | +| geun | `gem uninstall` | Uninstall gems from the local repository | +| geli | `gem list` | Display gems installed locally | +| gei | `gem info` | Show information for the given gem | +| geiall | `gem info --all` | Display all gem versions | +| geca | `gem cert --add` | Add a trusted certificate | +| gecr | `gem cert --remove` | Remove a trusted certificate | +| gecb | `gem cert --build` | Build private key and self-signed certificate | +| geclup | `gem cleanup -n` | Do not uninstall gem | +| gegi | `gem generate_index` | Generate index file for gem server | +| geh | `gem help` | Provide additional help | +| gel | `gem lock` | Generate a lockdown list of gems | +| geo | `gem open` | Open gem source in default editor | +| geoe | `gem open -e` | Open gem sources in preferred editor | diff --git a/plugins/ruby/ruby.plugin.zsh b/plugins/ruby/ruby.plugin.zsh index c235b6b69..890fcb179 100644 --- a/plugins/ruby/ruby.plugin.zsh +++ b/plugins/ruby/ruby.plugin.zsh @@ -8,17 +8,17 @@ alias rfind='find . -name "*.rb" | xargs grep -n' alias rb="ruby" # Gem Command Shorthands -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 ghlp="gem help" -alias gl="gem lock" -alias go="gem open" -alias goe="gem open -e" +alias gein="gem install" +alias geun="gem uninstall" +alias geli="gem list" +alias gei="gem info" +alias geiall="gem info --all" +alias geca="gem cert --add" +alias gecr="gem cert --remove" +alias gecb="gem cert --build" +alias geclup="gem cleanup -n" +alias gegi="gem generate_index" +alias geh="gem help" +alias gel="gem lock" +alias geo="gem open" +alias geoe="gem open -e"