From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29278 invoked from network); 13 Dec 1999 16:56:17 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Dec 1999 16:56:17 -0000 Received: (qmail 6302 invoked by alias); 13 Dec 1999 16:56:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9021 Received: (qmail 6293 invoked from network); 13 Dec 1999 16:56:09 -0000 From: "Bart Schaefer" Message-Id: <991213165604.ZM11553@candle.brasslantern.com> Date: Mon, 13 Dec 1999 16:56:04 +0000 In-Reply-To: <199912131339.OAA25639@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: two completion questions" (Dec 13, 2:39pm) References: <199912131339.OAA25639@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: two completion questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 13, 2:39pm, Sven Wischnowsky wrote: } Subject: Re: two completion questions } } Zefram wrote: } } > Globbing and completion never generate "." or ".." components; they are } > filtered out in zreaddir(). The reason for this is that they are pretty } > much never what you want. If you have files named ".foo" and ".bar", } > then type "." and press tab, are "." and ".." really what you want to } > complete to? Maybe there should be an option to complete to "." and } > ".." just like normal filenames, but I think the default should very } > definitely stay as being the current behaviour. } } Right. This makes it configurable with the special-dirs style. Can } anyone think of a better name? I'm dubious that '.' should ever be a completion by itself. I really don't want to type `.' and end up with `./' on the line -- but I can see the argument for wanting `..' to behave that way. Yes, it's exactly the same number of keystrokes to type the slash yourself instead of a tab, but habits are habits. Completing '.' would be even more annoying with REC_EXACT. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com