0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00

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
This commit is contained in:
Marc Cornellà 2021-10-20 17:09:38 +02:00
parent 4b1f6d638f
commit 8c1495a18e
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B
2 changed files with 33 additions and 33 deletions

View file

@ -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 |

View file

@ -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"