From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4596 invoked from network); 10 Jul 2005 01:18:39 -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 01:18:39 -0000 Received: (qmail 18706 invoked from network); 10 Jul 2005 01:18:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 01:18:32 -0000 Received: (qmail 1264 invoked by alias); 10 Jul 2005 01:18:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21413 Received: (qmail 1254 invoked from network); 10 Jul 2005 01:18:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Jul 2005 01:18:25 -0000 Received: (qmail 18373 invoked from network); 10 Jul 2005 01:18:25 -0000 Received: from mournblade.cat.pdx.edu (131.252.208.27) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 01:18:20 -0000 Received: from ruby.cat.pdx.edu (ruby.cat.pdx.edu [131.252.208.85]) by mournblade.cat.pdx.edu (8.13.1/8.13.1) with ESMTP id j6A1IEER004319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 9 Jul 2005 18:18:15 -0700 (PDT) Received: from ruby.cat.pdx.edu (localhost.localdomain [127.0.0.1]) by ruby.cat.pdx.edu (8.13.1/8.12.10) with ESMTP id j6A1IE8o012193 for ; Sat, 9 Jul 2005 18:18:14 -0700 Received: (from tspencer@localhost) by ruby.cat.pdx.edu (8.13.1/8.13.1/Submit) id j6A1IEat012192 for zsh-workers@sunsite.dk; Sat, 9 Jul 2005 18:18:14 -0700 Date: Sat, 9 Jul 2005 18:18:14 -0700 From: Travis Spencer To: zsh-workers@sunsite.dk Subject: PATCH: _unexpand Message-ID: <20050710011814.GB27336@ruby.cat.pdx.edu> Reply-To: zsh-workers@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.1 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.1 Here is a patch to add completion for the UNIX and Linux version of unexpand. --- /dev/null Sat Jul 9 18:12:21 2005 +++ Completion/Unix/Command/_unexpand Sat Jul 9 18:12:36 2005 @@ -0,0 +1,15 @@ +#compdef unexpand +# +# $Id:$ +# +# Copyright (C) 2005 Travis L. Spencer +# ALL RIGHTS RESERVED +# +# See the file LICENCE in the root of the zsh distribution for +# licensing information. +# + +_arguments \ + '-a[convert all whitespace, instead of just initial whitespace]' \ + '-t[use the given tab width or a list of specific tab positions]:tablist' \ + '*:file:_files' --- /dev/null Sat Jul 9 18:12:21 2005 +++ Completion/Linux/Command/_unexpand Sat Jul 9 18:12:49 2005 @@ -0,0 +1,18 @@ +#compdef unexpand +# +# $Id:$ +# +# Copyright (C) 2005 Travis L. Spencer +# ALL RIGHTS RESERVED +# +# See the file LICENCE in the root of the zsh distribution for +# licensing information. +# + +_arguments \ + {-a,--all}'[convert all whitespace, instead of just initial whitespace]' \ + '--first-only[convert only leading sequences of whitespace]' \ + {-t,--tabs=}'[use comma separated list of tab positions]:tablist' \ + '(* -)--help[display help message and exit]' \ + '(* -)--version[output version information and exit]' \ + '*:file:_files'