From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5045 invoked from network); 17 Sep 2007 00:23:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Sep 2007 00:23:10 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 85652 invoked from network); 16 Sep 2007 22:36:23 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Sep 2007 22:36:23 -0000 Received: (qmail 11950 invoked by alias); 16 Sep 2007 22:36:16 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11848 Received: (qmail 11939 invoked from network); 16 Sep 2007 22:36:15 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 16 Sep 2007 22:36:15 -0000 Received: (qmail 84432 invoked from network); 16 Sep 2007 22:36:15 -0000 Received: from vms048pub.verizon.net (206.46.252.48) by a.mx.sunsite.dk with SMTP; 16 Sep 2007 22:36:09 -0000 Received: from torch.brasslantern.com ([71.116.91.65]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JOH00I6PG45B577@vms048.mailsrvcs.net> for zsh-users@sunsite.dk; Sun, 16 Sep 2007 17:36:08 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id l8GMa5w2021584 for ; Sun, 16 Sep 2007 15:36:05 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l8GMa4Or021583 for zsh-users@sunsite.dk; Sun, 16 Sep 2007 15:36:04 -0700 Date: Sun, 16 Sep 2007 15:36:04 -0700 From: Bart Schaefer Subject: Re: Wouldn't it be nice if mkdir completion completed _path_files instead of _path_files -/? In-reply-to: To: "ZSH Users" Message-id: <070916153604.ZM21582@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: Comments: In reply to "Nikolai Weibull" "Wouldn't it be nice if mkdir completion completed _path_files instead of _path_files -/?" (Sep 16, 9:13pm) On Sep 16, 9:13pm, Nikolai Weibull wrote: } Subject: Wouldn't it be nice if mkdir completion completed _path_files ins } } Wouldn't it be nice if mkdir completion completed _path_files instead } of _path_files -/? I sometimes find myself wanting to create a } directory with a slight variation of a name of a file. Is there any } harm in completing files as well as directories for mkdir? If you're tab-completing a long path through several intermediate directories where some of those directories have a lot of plain files, you end up with a lot of useless names to wade through in the menus at each completion step. One could, I suppose, arrange to add the plain files to the ignored list for mkdir so they'd only be completed when no directories are possible matches.