From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12062 invoked from network); 31 Jul 2006 14:16:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 Jul 2006 14:16:27 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 41420 invoked from network); 31 Jul 2006 14:16:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Jul 2006 14:16:20 -0000 Received: (qmail 23963 invoked by alias); 31 Jul 2006 14:16:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10566 Received: (qmail 23953 invoked from network); 31 Jul 2006 14:16:12 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 31 Jul 2006 14:16:12 -0000 Received: (qmail 40304 invoked from network); 31 Jul 2006 14:16:12 -0000 Received: from dottedmag.net (85.118.226.168) by a.mx.sunsite.dk with SMTP; 31 Jul 2006 14:16:11 -0000 Received: from vertex.dottedmag.net (unknown [10.10.31.3]) by dottedmag.net (Postfix) with ESMTP id 1835C1BECF for ; Mon, 31 Jul 2006 21:16:11 +0700 (NOVST) From: Mikhail Gusarov To: zsh-users@sunsite.dk Subject: Re: [BUG] zsh gpg completion does not recognize gpg --keyring References: <87zmeqr2d4.fsf@vertex.dottedmag.net> <20060731113732.4c595080.pws@csr.com> Date: Mon, 31 Jul 2006 21:16:10 +0700 In-Reply-To: <20060731113732.4c595080.pws@csr.com> (Peter Stephenson's message of "Mon, 31 Jul 2006 11:37:32 +0100") Message-ID: <87slkhrhat.fsf@vertex.dottedmag.net> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii You (pws@csr.com) wrote: >> Autocomplete in commang 'gpg --no-default-keyring --keyring >> /some/key/ring' gives me userids from my default keyring >> (~/.gnupg), not from the specified in the command line. PS> I think the following fixes it, but I don't have a gpg setup to PS> use for testing, so I haven't confirmed the effect (though I did PS> test the code I added). Luckily, somebody cleverly wrote gpg PS> with just the structure needed for this addition. Tested, works fine. Thanks! -- JID: dottedmag@jabber.dottedmag.net