From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26010 invoked from network); 17 Oct 2001 15:43:54 -0000 Received: from unknown (HELO sunsite.dk) (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Oct 2001 15:43:54 -0000 Received: (qmail 11933 invoked by alias); 17 Oct 2001 15:43:36 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4381 Received: (qmail 11912 invoked from network); 17 Oct 2001 15:43:35 -0000 From: Bart Schaefer Message-Id: <1011017154321.ZM4401@candle.brasslantern.com> Date: Wed, 17 Oct 2001 15:43:20 +0000 In-Reply-To: <20011017164751.A6245@greux.loria.fr> Comments: In reply to Vincent Lefevre "Problem with zip completion" (Oct 17, 4:47pm) References: <20011017164751.A6245@greux.loria.fr> X-Mailer: Z-Mail (5.0.0 30July97) To: Vincent Lefevre , zsh-users@sunsite.dk Subject: Re: Problem with zip completion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 17, 4:47pm, Vincent Lefevre wrote: } Subject: Problem with zip completion } } With the standard zip completion function (under zsh 4.0.2), when I type } } zip blah.zip file[TAB] } } filename completion works, but when I type } } zip -r blah.zip file[TAB] } } it doesn't work any longer. Does anyone have a better completion } function for zip? Hm. Completion/Unix/Command/_zip thinks that -R is the option for recursing into subdirectories, but zip 2.1 and 2.3 (as distributed by RedHat) use -r, and 2.3 says -R is "PKZIP recursion." Also, the _zip function thinks `zip -e' will encrypt, but zip 2.3 doesn't have that option on my system. Oliver, it looks like you wrote the _zip function, posted in 13600. On which version of zip did you base it? Meanwhile, Vincent, as a temporary fix, edit _zip and replace -R with -r in what should be the obvious place near the top of the function. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net