From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20053 invoked from network); 14 Oct 2001 16:05:26 -0000 Received: from unknown (HELO sunsite.dk) (130.225.247.90) by ns1.primenet.com.au with SMTP; 14 Oct 2001 16:05:26 -0000 Received: (qmail 27437 invoked by alias); 14 Oct 2001 16:05:05 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4376 Received: (qmail 27343 invoked from network); 14 Oct 2001 16:05:03 -0000 From: Bart Schaefer Message-Id: <1011014160458.ZM6057@candle.brasslantern.com> Date: Sun, 14 Oct 2001 16:04:58 +0000 In-Reply-To: <20011014155903.A24698@silmu.st.jyu.fi> Comments: In reply to Juhapekka Tolvanen "Re: About completion w/ tar.bz2-files" (Oct 14, 3:59pm) References: <20011014074208.A11596@silmu.st.jyu.fi> <20011014083746.A23527@dman.com> <20011014155903.A24698@silmu.st.jyu.fi> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users mailing list Subject: Re: About completion w/ tar.bz2-files MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 14, 3:59pm, Juhapekka Tolvanen wrote: } } On Sun, 14 Oct 2001, +15:38:04 EEST (UTC +0300), } Clint Adams pressed some keys: } } > > It seems, that it does not work with tar.bz2 -files yet. } > } > It has for quite some time. What version are you using? } } zsh 4.0.2 (i586-pc-linux-gnu) You'll have to explain a little further why you think it doesn't work with .bz2 files. Completion of names from inside the archive is keyed off the extraction arguments in the tar command, not off the file name, so `tar Ixf foo.tar.bz2 ' will complete files from the .bz2, and `tar zxf foo.tar.gz ' will complete files from the .gz. You have to use the 1-letter short forms of the tar options; the _tar function does not yet handle the long-word forms. -- 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