diff options
author | David Lee <davidomundo@gmail.com> | 2012-02-26 02:29:24 -0800 |
---|---|---|
committer | David Lee <davidomundo@gmail.com> | 2012-02-26 02:29:24 -0800 |
commit | fa1657e10bc062394390d83d0bb5d3848905f5b6 (patch) | |
tree | e33fd0969424056ac1a396eb959b8889609d9c79 /plugins/gem | |
parent | 1120f973054836eeb53750f57d69fbec41a340dc (diff) | |
download | zsh-fa1657e10bc062394390d83d0bb5d3848905f5b6.tar.gz zsh-fa1657e10bc062394390d83d0bb5d3848905f5b6.tar.bz2 zsh-fa1657e10bc062394390d83d0bb5d3848905f5b6.zip |
Add gem build autocompletion
Diffstat (limited to 'plugins/gem')
-rw-r--r-- | plugins/gem/_gem | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gem/_gem b/plugins/gem/_gem index 83cba40d1..3c0922f2c 100644 --- a/plugins/gem/_gem +++ b/plugins/gem/_gem @@ -9,6 +9,7 @@ _gem_installed() { local -a _1st_arguments _1st_arguments=( + 'build:Build a gem from a gemspec' 'cert:Manage RubyGems certificates and signing settings' 'check:Check installed gems' 'cleanup:Clean up old versions of installed gems in the local repository' @@ -53,6 +54,9 @@ if (( CURRENT == 1 )); then fi case "$words[1]" in + build) + _files -g "*.gemspec" + ;; list) if [[ "$state" == forms ]]; then _gem_installed |