浏览代码

Add Gem README

Zach Whitten 5 年之前
父节点
当前提交
8d3cafca3e
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      plugins/gem/README.md

+ 17 - 0
plugins/gem/README.md

@@ -0,0 +1,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               |
+|-------|-----------------------|
+| gemb  | `gem build *.gemspec` |
+| gemp  | `gem push *.gem`      |
+| gemy  | `gem yank $1 -v $2`   |
+