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 | |
parent | 9b2ab24ea5525328367c7dd857f840f3c8b6a36a (diff) | |
download | zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.gz zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.xz zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.zip |
Mikael: users/15875: fix _gpg to use _arguments return status
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Completion/Unix/Command/_gpg | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 394154a0e..4e43c092b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-16 Peter Stephenson <pws@csr.com> + + * Mikael: users/15875: Completion/Unix/Command/_gpg: use return + status from _arguments. + 2011-03-11 Peter Stephenson <p.w.stephenson@ntlworld.com> * 28889: Src/subst.c, Test/D04parameter.ztst: ${##} should @@ -14337,5 +14342,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5222 $ +* $Revision: 1.5223 $ ***************************************************** 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 |