Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: About completion w/ tar.bz2-files



On Oct 14,  3:59pm, Juhapekka Tolvanen wrote:
}
} On Sun, 14 Oct 2001, +15:38:04 EEST (UTC +0300),
} Clint Adams <clint@xxxxxxx> 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 <TAB>' will complete files from the .bz2, and
`tar zxf foo.tar.gz <TAB>' 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   



Messages sorted by: Reverse Date, Date, Thread, Author