mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
18 lines
475 B
Markdown
18 lines
475 B
Markdown
|
## Gem Plugin
|
||
|
|
||
|
This plugin adds completions and aliases for [Gem](https://rubygems.org/). The completions include the common `gem` subcommands as well as the installed gems in the current directory.
|
||
|
|
||
|
To use it, add `gem` to the plugins array in your zshrc file:
|
||
|
|
||
|
```zsh
|
||
|
plugins=(... gem)
|
||
|
```
|
||
|
## Aliases
|
||
|
|
||
|
| Alias | Command |
|
||
|
|-------|-----------------------|
|
||
|
| gemb | `gem build *.gemspec` |
|
||
|
| gemp | `gem push *.gem` |
|
||
|
| gemy | `gem yank $1 -v $2` |
|
||
|
|