From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8782 invoked from network); 31 May 2001 17:59:02 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 May 2001 17:59:02 -0000 Received: (qmail 5500 invoked by alias); 31 May 2001 17:58:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14625 Received: (qmail 5489 invoked from network); 31 May 2001 17:58:53 -0000 Date: Thu, 31 May 2001 13:58:43 -0400 From: Clint Adams To: Sven Wischnowsky Cc: zsh-workers@sunsite.dk, 99095@bugs.debian.org Subject: Re: Bug#99095: Process completion for gdb Message-ID: <20010531135843.A16416@dman.com> References: <20010531100751.A13076@dman.com> <200105311526.RAA12705@beta.informatik.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105311526.RAA12705@beta.informatik.hu-berlin.de>; from wischnow@informatik.hu-berlin.de on Thu, May 31, 2001 at 05:26:33PM +0200 > I thought about something like that when I wrote _gdb. The problem is > if there is no file matching *core. Then the first would complete all > files (or directories), too. And since they may be in different groups, > they would be shown twice. > > Obviously, I didn't find a solution... One could rely on the output of file(1), but that's ridiculously expensive. Why not an option to _path_files that doesn't add any matches if the pattern is not met?