about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-03-16 14:22:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-03-16 14:22:56 +0000
commitb9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d (patch)
treeb5c5034a10eb00a897a6149230f6b1090322e950 /Completion/Unix/Command
parent9b2ab24ea5525328367c7dd857f840f3c8b6a36a (diff)
downloadzsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.gz
zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.tar.xz
zsh-b9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d.zip
Mikael: users/15875: fix _gpg to use _arguments return status
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_gpg6
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