Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion once again..
- X-seq: zsh-users 3589
- From: Tarmo Järvi <tarmoj@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Completion once again..
- Date: Sat, 20 Jan 2001 16:26:42 +0000 (GMT+00:00)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hello list,
and my apologies if this question has been asked several times but I couldn't find answer anywhere.
Anyway, here's my question: I have in ~/.zshrc:
compctl -g '*.(tar|t[ag]z|tz|tar.gz|tar.Z|tarZ|tar.bz2)' + -g '*(-/)' {,ls,un,g,gnu}tar
and in /tmp:
foo.tar
bar/
bar/snafu.tar
if I 'cd /tmp' and type tar <TAB> I get:
tar foo.tar
How do I get menu with all directories files matching definitions above? I've tried numerous tricks but I couldn't made it.
Thanks for help, Tarmo.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author