* completion for gpg not working
@ 2011-03-15 22:34 Philipp Hartwig
2011-03-16 12:31 ` Mikael Magnusson
0 siblings, 1 reply; 3+ messages in thread
From: Philipp Hartwig @ 2011-03-15 22:34 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
Hello,
I'm using zsh 4.3.11-4 from Debian.
With zsh -f and then
$ autoload -Uz compinit
$ compinit
$ zstyle ':completion:*' completer _complete _approximate
typing
$ gpg --ver<tab>
"completes" to
$ gpg --armor
zsh: do you wish to see all 217 possibilities (78 lines)?
The _gpg completion file distributed with Debian is identical to the one
distributed with the official Zsh 4.3.11.
It would be great if this could be fixed.
Regards,
Philipp
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 4611 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: completion for gpg not working
2011-03-15 22:34 completion for gpg not working Philipp Hartwig
@ 2011-03-16 12:31 ` Mikael Magnusson
2011-03-16 13:50 ` Philipp Hartwig
0 siblings, 1 reply; 3+ messages in thread
From: Mikael Magnusson @ 2011-03-16 12:31 UTC (permalink / raw)
To: Philipp Hartwig; +Cc: zsh-users
On 15 March 2011 23:34, Philipp Hartwig <philipp.hartwig@uni-due.de> wrote:
> Hello,
>
> I'm using zsh 4.3.11-4 from Debian.
>
> With zsh -f and then
>
> $ autoload -Uz compinit
> $ compinit
> $ zstyle ':completion:*' completer _complete _approximate
>
> typing
>
> $ gpg --ver<tab>
>
> "completes" to
>
> $ gpg --armor
> zsh: do you wish to see all 217 possibilities (78 lines)?
>
> The _gpg completion file distributed with Debian is identical to the one
> distributed with the official Zsh 4.3.11.
>
> It would be great if this could be fixed.
http://cgit.mika.l3ib.org/cgit/zsh-cvs/patch/?id=223537ef09490f5fdeba8941a058047755c658cf
diff --git a/Completion/Unix/Command/_gpg b/Completion/Unix/Command/_gpg
index 3f86411..3043f7a 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
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: completion for gpg not working
2011-03-16 12:31 ` Mikael Magnusson
@ 2011-03-16 13:50 ` Philipp Hartwig
0 siblings, 0 replies; 3+ messages in thread
From: Philipp Hartwig @ 2011-03-16 13:50 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
On Wed, Mar 16, 2011 at 01:31:43PM +0100, Mikael Magnusson wrote:
> http://cgit.mika.l3ib.org/cgit/zsh-cvs/patch/?id=223537ef09490f5fdeba8941a058047755c658cf
Perfect, thank you!
Regards,
Philipp
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 4611 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-16 13:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-15 22:34 completion for gpg not working Philipp Hartwig
2011-03-16 12:31 ` Mikael Magnusson
2011-03-16 13:50 ` Philipp Hartwig
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).