d4e907bf141cf558cb643c41e8a86d708bb1e274

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #973 from dlee/gem_build

Add gem build autocompletion

Diff

 1diff --git a/plugins/gem/_gem b/plugins/gem/_gem
 2index 66c77b7d1b839d7b76f79f7bdfe739b072fefd41..25967f1e7a8e9aacd1e6c08844830a916e2b2fbe 100644
 3--- a/plugins/gem/_gem
 4+++ b/plugins/gem/_gem
 5@@ -56,6 +56,9 @@ if (( CURRENT == 1 )); then
 6 fi
 7 
 8 case "$words[1]" in
 9+  build)
10+    _files -g "*.gemspec"
11+    ;;
12   list)
13       if [[ "$state" == forms ]]; then
14         _gem_installed