diff options
author | Laurent Arnoud <laurent@spkdev.net> | 2019-05-05 20:01:01 +0200 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2019-05-06 16:46:13 +0200 |
commit | 191e05b1083d8c8ac8b2858c9278a7bd5414881f (patch) | |
tree | c7215ba3726131fca458be36651c5c8b7bde866d /Completion/Unix/Command/_gem | |
parent | 6f202377c7596f9b4225af9fb9c149212eed2162 (diff) | |
download | zsh-191e05b1083d8c8ac8b2858c9278a7bd5414881f.tar.gz zsh-191e05b1083d8c8ac8b2858c9278a7bd5414881f.tar.xz zsh-191e05b1083d8c8ac8b2858c9278a7bd5414881f.zip |
github #35: fix _arguments spec for gem push completion
Diffstat (limited to 'Completion/Unix/Command/_gem')
-rw-r--r-- | Completion/Unix/Command/_gem | 4 |
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+=( |