diff options
author | Marc Cornellà <hello@mcornella.com> | 2021-10-20 17:09:38 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-10-20 17:11:42 +0200 |
commit | 8c1495a18e5ba496837bf3978300519edadffaff (patch) | |
tree | 53e52d9d9075c7c2c88059b3809ffca023c7fa2e /plugins | |
parent | 4b1f6d638f0783e05a9d2601ee0e1fd902416491 (diff) | |
download | zsh-8c1495a18e5ba496837bf3978300519edadffaff.tar.gz zsh-8c1495a18e5ba496837bf3978300519edadffaff.tar.bz2 zsh-8c1495a18e5ba496837bf3978300519edadffaff.zip |
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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ruby/README.md | 38 | ||||
-rw-r--r-- | 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" |