summaryrefslogtreecommitdiff
path: root/plugins/gem
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-03-22 15:36:52 -0700
committerRobby Russell <robby@planetargon.com>2014-03-22 15:36:52 -0700
commitd4e907bf141cf558cb643c41e8a86d708bb1e274 (patch)
tree9145cefac133ea9bed89960be2b7469a224b833d /plugins/gem
parent9eacd7d589cc7c8c6413cf2c76f8fdd726cc69d0 (diff)
parentfa1657e10bc062394390d83d0bb5d3848905f5b6 (diff)
downloadzsh-d4e907bf141cf558cb643c41e8a86d708bb1e274.tar.gz
zsh-d4e907bf141cf558cb643c41e8a86d708bb1e274.tar.bz2
zsh-d4e907bf141cf558cb643c41e8a86d708bb1e274.zip
Merge pull request #973 from dlee/gem_build
Add gem build autocompletion
Diffstat (limited to 'plugins/gem')
-rw-r--r--plugins/gem/_gem3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gem/_gem b/plugins/gem/_gem
index 66c77b7d1..25967f1e7 100644
--- a/plugins/gem/_gem
+++ b/plugins/gem/_gem
@@ -56,6 +56,9 @@ if (( CURRENT == 1 )); then
fi
case "$words[1]" in
+ build)
+ _files -g "*.gemspec"
+ ;;
list)
if [[ "$state" == forms ]]; then
_gem_installed