mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-29 17:20:09 +00: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:
parent
4b1f6d638f
commit
8c1495a18e
2 changed files with 33 additions and 33 deletions
|
@ -10,22 +10,22 @@ plugins=(... ruby)
|
||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
|-------|----------------------------------------|------------------------------------------------------|
|
|--------|----------------------------------------|------------------------------------------------------|
|
||||||
| rb | `ruby` | The Ruby command |
|
| rb | `ruby` | The Ruby command |
|
||||||
| sgem | `sudo gem` | Run sudo gem on the system ruby, not the active ruby |
|
| sgem | `sudo gem` | Run sudo gem on the system ruby, not the active ruby |
|
||||||
| rfind | `find . -name "*.rb" \| xargs grep -n` | Find ruby file |
|
| rfind | `find . -name "*.rb" \| xargs grep -n` | Find ruby file |
|
||||||
| gin | `gem install` | Install a gem into the local repository |
|
| gein | `gem install` | Install a gem into the local repository |
|
||||||
| gun | `gem uninstall` | Uninstall gems from the local repository |
|
| geun | `gem uninstall` | Uninstall gems from the local repository |
|
||||||
| gli | `gem list` | Display gems installed locally |
|
| geli | `gem list` | Display gems installed locally |
|
||||||
| gi | `gem info` | Show information for the given gem |
|
| gei | `gem info` | Show information for the given gem |
|
||||||
| giall | `gem info --all` | Display all gem versions |
|
| geiall | `gem info --all` | Display all gem versions |
|
||||||
| gca | `gem cert --add` | Add a trusted certificate |
|
| geca | `gem cert --add` | Add a trusted certificate |
|
||||||
| gcr | `gem cert --remove` | Remove a trusted certificate |
|
| gecr | `gem cert --remove` | Remove a trusted certificate |
|
||||||
| gcb | `gem cert --build` | Build private key and self-signed certificate |
|
| gecb | `gem cert --build` | Build private key and self-signed certificate |
|
||||||
| gclup | `gem cleanup -n` | Do not uninstall gem |
|
| geclup | `gem cleanup -n` | Do not uninstall gem |
|
||||||
| ggi | `gem generate_index` | Generate index file for gem server |
|
| gegi | `gem generate_index` | Generate index file for gem server |
|
||||||
| ghlp | `gem help` | Provide additional help |
|
| geh | `gem help` | Provide additional help |
|
||||||
| gl | `gem lock` | Generate a lockdown list of gems |
|
| gel | `gem lock` | Generate a lockdown list of gems |
|
||||||
| go | `gem open` | Open gem source in default editor |
|
| geo | `gem open` | Open gem source in default editor |
|
||||||
| goe | `gem open -e` | Open gem sources in preferred editor |
|
| geoe | `gem open -e` | Open gem sources in preferred editor |
|
||||||
|
|
|
@ -8,17 +8,17 @@ alias rfind='find . -name "*.rb" | xargs grep -n'
|
||||||
alias rb="ruby"
|
alias rb="ruby"
|
||||||
|
|
||||||
# Gem Command Shorthands
|
# Gem Command Shorthands
|
||||||
alias gin="gem install"
|
alias gein="gem install"
|
||||||
alias gun="gem uninstall"
|
alias geun="gem uninstall"
|
||||||
alias gli="gem list"
|
alias geli="gem list"
|
||||||
alias gi="gem info"
|
alias gei="gem info"
|
||||||
alias giall="gem info --all"
|
alias geiall="gem info --all"
|
||||||
alias gca="gem cert --add"
|
alias geca="gem cert --add"
|
||||||
alias gcr="gem cert --remove"
|
alias gecr="gem cert --remove"
|
||||||
alias gcb="gem cert --build"
|
alias gecb="gem cert --build"
|
||||||
alias gclup="gem cleanup -n"
|
alias geclup="gem cleanup -n"
|
||||||
alias ggi="gem generate_index"
|
alias gegi="gem generate_index"
|
||||||
alias ghlp="gem help"
|
alias geh="gem help"
|
||||||
alias gl="gem lock"
|
alias gel="gem lock"
|
||||||
alias go="gem open"
|
alias geo="gem open"
|
||||||
alias goe="gem open -e"
|
alias geoe="gem open -e"
|
||||||
|
|
Loading…
Reference in a new issue