From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2805 invoked from network); 10 Oct 2006 15:32:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.6 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Oct 2006 15:32:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 79896 invoked from network); 10 Oct 2006 15:32:51 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Oct 2006 15:32:51 -0000 Received: (qmail 6416 invoked by alias); 10 Oct 2006 15:32:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22856 Received: (qmail 6407 invoked from network); 10 Oct 2006 15:32:46 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Oct 2006 15:32:46 -0000 Received: (qmail 79725 invoked from network); 10 Oct 2006 15:32:46 -0000 Received: from vms048pub.verizon.net (206.46.252.48) by a.mx.sunsite.dk with SMTP; 10 Oct 2006 15:32:44 -0000 Received: from torch.brasslantern.com ([71.116.118.106]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J6X00FBEF1QMND6@vms048.mailsrvcs.net> for zsh-workers@sunsite.dk; Tue, 10 Oct 2006 10:29:55 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k9AFTnqF008911; Tue, 10 Oct 2006 08:29:49 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k9AFTmQ2008910; Tue, 10 Oct 2006 08:29:48 -0700 Date: Tue, 10 Oct 2006 08:29:48 -0700 From: Bart Schaefer Subject: Re: Please add pinfo completion In-reply-to: <20061010142200.GC17674@prunille.vinc17.org> To: Vincent Lefevre , zsh-workers@sunsite.dk Message-id: <061010082948.ZM8909@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20061007013551.GE8188@prunille.vinc17.org> <237967ef0610081413v291de92ck71f45c8990bf67ae@mail.gmail.com> <20061010142200.GC17674@prunille.vinc17.org> Comments: In reply to Vincent Lefevre "Re: Please add pinfo completion" (Oct 10, 4:22pm) On Oct 10, 4:22pm, Vincent Lefevre wrote: } } > compdef _gnu_generic pinfo } } One problem is that it doesn't give help text. So, is there a way } to generate a completion file (to be completed), assuming that the } command has the --help feature? If pinfo really is a drop-in replacement for info, you can just do: compdef pinfo=info