Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
tar compctl
- X-seq: zsh-users 1241
- From: njs3@xxxxxxxxxxxx (Niall Smart)
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: tar compctl
- Date: Tue, 20 Jan 1998 12:00:35 +0000
Hi,
Here's a GNU tar compctl I hacked up, it completes compressed tar files
after something like -xzvf, plain tar files after something like -xvf
and directories after -C, and "-xzvf" otherwise.
compctl -k '(-xzvf)' -x 'C[-1,*z*]' -g '*.(tgz|tar.(Z|gz))' \
- 'C[-1,*x*]' -g '*.tar' - 'c[-1,-C]' -g '*(/)' -- tar
Regards
Niall
Messages sorted by:
Reverse Date,
Date,
Thread,
Author