summaryrefslogblamecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/gem/README.md
blob: decd87ba35aeb66a8f3b9cf0ca3b964c1ab3e681 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















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