mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-04-20 21:33:29 +02:00
a2bf5c7b99
Completion for `gem` was included in zsh 5.5 and newer. This change only uses the Oh My Zsh one if running an older version. Reference: https://github.com/zsh-users/zsh/commit/9881778d48caf842f794d986bc9befebf0fb01c2
Gem plugin
This plugin adds completions and aliases for Gem. 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:
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 |