diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2011-03-16 14:22:56 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-03-16 14:22:56 +0000 |
| commit | b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d (patch) | |
| tree | b5c5034a10eb00a897a6149230f6b1090322e950 /Completion/Unix/Command/_gpg | |
| parent | Greg Klanderman: 28887: fix quoting in defs array (diff) | |
| download | zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.gz zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.bz2 zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.lz zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.xz zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.zst zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.zip | |
Mikael: users/15875: fix _gpg to use _arguments return status
Diffstat (limited to 'Completion/Unix/Command/_gpg')
| -rw-r--r-- | Completion/Unix/Command/_gpg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_gpg b/Completion/Unix/Command/_gpg index 3f86411f6..3043f7abb 100644 --- a/Completion/Unix/Command/_gpg +++ b/Completion/Unix/Command/_gpg @@ -193,15 +193,15 @@ gpgextra=('--decrypt-files[decrypt multiple files]' case "$service" in gpg) - _arguments -C -s -S -A "-*" $gpgbasic $gpgextra $gpgv '*:args:->args' + _arguments -C -s -S -A "-*" $gpgbasic $gpgextra $gpgv '*:args:->args' && ret=0 ;; gpgv) - _arguments -C -s -S -A "-*" $gpgv '*:args:->args' + _arguments -C -s -S -A "-*" $gpgv '*:args:->args' && ret=0 ;; gpg-zip) - _arguments -C -s -S -A "-*" $gpgbasic $gpgzip '*:args:->args' + _arguments -C -s -S -A "-*" $gpgbasic $gpgzip '*:args:->args' && ret=0 ;; esac |
