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

Re: About completion w/ tar.bz2-files



On Oct 14,  6:07pm, Dennis Haney wrote:
}
} Bart Schaefer wrote:
} 
} >so `tar Ixf foo.tar.bz2 <TAB>' will complete files from the .bz2, and
}
} I? bzip2 is j, thus tar xjf <tab>

It depends which version of tar that you have ...

tar (GNU tar) 1.13.17
Copyright 2000 Free Software Foundation, Inc.
[...]
  -I, --bzip2                        filter the archive through bzip2
[...]

The tar completer interprets any of I, j, and y as options that mean to
use bzip2'd archives.

-- 
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