From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16270 invoked from network); 20 Jan 2001 16:27:02 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 20 Jan 2001 16:27:02 -0000 Received: (qmail 18090 invoked by alias); 20 Jan 2001 16:26:45 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3589 Received: (qmail 18079 invoked from network); 20 Jan 2001 16:26:45 -0000 Message-ID: <14522138.980008002355.JavaMail.wls@webwl01> Date: Sat, 20 Jan 2001 16:26:42 +0000 (GMT+00:00) From: Tarmo =?ISO-8859-1?Q?J=E4rvi?= To: zsh-users@sunsite.auc.dk Subject: Completion once again.. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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.