zsh-users
 help / color / mirror / code / Atom feed
* tar compctl
@ 1998-01-20 12:00 Niall Smart
  1998-01-20 17:51 ` CVS compctl Mirar
  0 siblings, 1 reply; 5+ messages in thread
From: Niall Smart @ 1998-01-20 12:00 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-01-24 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-20 12:00 tar compctl Niall Smart
1998-01-20 17:51 ` CVS compctl Mirar
1998-01-23 21:22   ` man compctl Thomas Köhler
1998-01-24 11:37     ` Mirar
1998-01-24 11:57       ` misc compctl Mirar

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).