summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorLaurent Arnoud <laurent@spkdev.net>2019-05-05 20:01:01 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2019-05-06 16:46:13 +0200
commit191e05b1083d8c8ac8b2858c9278a7bd5414881f (patch)
treec7215ba3726131fca458be36651c5c8b7bde866d /Completion/Unix
parent6f202377c7596f9b4225af9fb9c149212eed2162 (diff)
downloadzsh-191e05b1083d8c8ac8b2858c9278a7bd5414881f.tar.gz
zsh-191e05b1083d8c8ac8b2858c9278a7bd5414881f.tar.xz
zsh-191e05b1083d8c8ac8b2858c9278a7bd5414881f.zip
github #35: fix _arguments spec for gem push completion
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_gem4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_gem b/Completion/Unix/Command/_gem
index 5b048f86d..512d2d193 100644
--- a/Completion/Unix/Command/_gem
+++ b/Completion/Unix/Command/_gem
@@ -56,7 +56,7 @@ if [[ $state = command ]]; then
     check|cleanup|contents|dependency|list|open|pristine|rdoc|uninstall|unpack|update)
       args+=( '(--all --skip)*:installed gem:->gems-local' )
     ;|
-    fetch|install|lock|owner|push|search|yank)
+    fetch|install|lock|owner|search|yank)
       args+=( '*:gem:->gems-remote' )
     ;|
     cleanup|uninstall)
@@ -214,7 +214,7 @@ if [[ $state = command ]]; then
       )
     ;;
     push)
-      args+=( '*:gem:_files -g "*.gem(-.)"' )
+      args+=( '1:gem file:_files -g "*.gem(-.)"' )
     ;;
     query)
       args+=(