1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 16:23:37 +08:00
ohmyzsh/plugins/gem
Marc Cornellà a2bf5c7b99 refactor(gem): favor built-in zsh completion for gem (#12576)
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: 9881778d48
2024-07-23 18:56:01 +02:00
..
completions refactor(gem): favor built-in zsh completion for gem (#12576) 2024-07-23 18:56:01 +02:00
gem.plugin.zsh refactor(gem): favor built-in zsh completion for gem (#12576) 2024-07-23 18:56:01 +02:00
README.md change title to h1 2018-10-04 23:13:46 +02:00

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