From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26925 invoked from network); 10 Jul 2005 03:39:22 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Jul 2005 03:39:22 -0000 Received: (qmail 78222 invoked from network); 10 Jul 2005 03:39:16 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 03:39:16 -0000 Received: (qmail 12024 invoked by alias); 10 Jul 2005 03:39:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21414 Received: (qmail 12014 invoked from network); 10 Jul 2005 03:39:12 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Jul 2005 03:39:12 -0000 Received: (qmail 77911 invoked from network); 10 Jul 2005 03:39:11 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 03:39:08 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IJE0014V7GYEG3J@vms040.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 09 Jul 2005 22:38:59 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j6A3cvQ7018236 for ; Sat, 09 Jul 2005 20:38:57 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j6A3cvWG018235 for zsh-workers@sunsite.dk; Sat, 09 Jul 2005 20:38:57 -0700 Date: Sun, 10 Jul 2005 03:38:57 +0000 From: Bart Schaefer Subject: Re: PATCH: _unexpand In-reply-to: <20050710011814.GB27336@ruby.cat.pdx.edu> To: zsh-workers@sunsite.dk Message-id: <1050710033857.ZM18234@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050710011814.GB27336@ruby.cat.pdx.edu> Comments: In reply to Travis Spencer "PATCH: _unexpand" (Jul 9, 6:18pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Jul 9, 6:18pm, Travis Spencer wrote: } Subject: PATCH: _unexpand } } Here is a patch to add completion for the UNIX and Linux version of } unexpand. As the completion functions are preferentially installed all into a single directory (it's an extra configure option to install them in separate subdirectories), it is necessary to pick one location for any function -- I suggest Completion/Unix/Command/_unexpand in this case -- and have the function internally decide which version of the command it should be completing for. In other words, combine these into one file with an "if" test of some sort, and then they could be added to the distribution.