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

18 lines
814 B
Markdown
Raw Normal View History

2018-10-04 23:13:46 +02:00
# Gem plugin
2018-10-04 14:56:43 +02:00
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)
```
2018-10-04 23:13:16 +02:00
## Aliases
2018-10-04 14:56:43 +02:00
2018-10-04 23:13:16 +02:00
| Alias | Command | Description |
|----------------------|-------------------------------|--------------------------------------------|
| gemb | `gem build *.gemspec` | Build a gem from a gemspec |
| gemp | `gem push *.gem` | Push a gem up to the gem server |
| gemy [gem] [version] | `gem yank [gem] -v [version]` | Remove a pushed gem version from the index |