From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14310 invoked from network); 16 Aug 2003 07:01:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 16 Aug 2003 07:01:00 -0000 Received: (qmail 28185 invoked by alias); 16 Aug 2003 07:00:41 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6469 Received: (qmail 28172 invoked from network); 16 Aug 2003 07:00:40 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 16 Aug 2003 07:00:40 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [204.127.202.64] by sunsite.dk (MessageWall 1.0.8) with SMTP; 16 Aug 2003 7:0:40 -0000 Received: from bobo.thehutt.org ([68.49.245.189]) by comcast.net (sccrmhc13) with ESMTP id <20030816070039016008831te>; Sat, 16 Aug 2003 07:00:39 +0000 Received: from bebop.thehutt.org (bebop.thehutt.org [10.0.1.48]) by bobo.thehutt.org (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id h7G6xZeT009242 for ; Sat, 16 Aug 2003 02:59:35 -0400 Received: from bebop.thehutt.org (localhost [127.0.0.1]) by bebop.thehutt.org (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id h7G6xZYk031593 for ; Sat, 16 Aug 2003 02:59:35 -0400 Received: (from jerry@localhost) by bebop.thehutt.org (8.12.7/8.12.7/Submit) id h7G6xZGH031592 for zsh-users@sunsite.dk; Sat, 16 Aug 2003 02:59:35 -0400 X-Authentication-Warning: bebop.thehutt.org: jerry set sender to jerry@thehutt.org using -f Date: Sat, 16 Aug 2003 02:59:35 -0400 From: Jerry A! To: zsh-users@sunsite.dk Subject: Help w/compctl & ksh_glob Message-ID: <20030816065935.GA31520@bebop.thehutt.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: Broken Toys Unlimited I'm trying to setup some simple completions under zsh 4.0.6 using 'compctl' and 'emulate ksh'. Nothing fancy, just matching programs to extensions. For example: compctl -/g '*.+(b{oo,ar,az}|quu|txt)' foo This ends up not working, nothing gets expanded. I've tried replacing '-/g' with '-/s'. This works a little better. It'll match the appropriate files in the current directory. It'll even complete directory names. However, it won't complete file matches in a given directory. For instance: foo[TAB] will show 'x.bar' and 'subdir/' foo x[TAB] will complete 'x.bar' foo sub[TAB] will complete 'subdir/' Now if 'subdir/y.baz' exists, the following will not work: foo 'subdir/[TAB]' will complete 'subdir/' but will not show any viable matches under 'subdir/'. I feel like I'm missing something obvious. Any pointers or help would be greatly appreciated. Thanks in advance... --Jerry -- Open-Source software isn't a matter of life or death... ...It's much more important than that!