From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5502 invoked from network); 11 Dec 2001 15:10:11 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?t3kTXBdBJ2tUHu/DKwnDYfex8G+GqLxl?@203.24.36.3) by ns1.primenet.com.au with SMTP; 11 Dec 2001 15:10:11 -0000 Received: (qmail 2943 invoked from network); 11 Dec 2001 15:10:09 -0000 Received: from sunsite.dk (130.225.247.90) by proxy.melb.primenet.com.au with SMTP; 11 Dec 2001 15:10:09 -0000 Received: (qmail 27018 invoked by alias); 11 Dec 2001 15:09:52 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4530 Received: (qmail 27007 invoked from network); 11 Dec 2001 15:09:51 -0000 Message-ID: <20011211150949.60784.qmail@web9304.mail.yahoo.com> Date: Tue, 11 Dec 2001 15:09:49 +0000 (GMT) From: =?iso-8859-1?q?Oliver=20Kiddle?= Subject: Re: generic filename completion like "foo --file=ba" To: Zsh users list , Michael Wardle In-Reply-To: <28713.1008073725@csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Peter Stephenson wrote: > You might want to `setopt magicequalsubst' for the best effect. This > will > force zsh to recognise ~-expansion after all equal signs. If you look at _default, you'll see that it is set to complete files after any `=' as part of the default completion if magicequalsubst is set. Vincent Lefèvre wrote: > After all, you cannot assume that an argument is always a filename. > However, the default behaviour is to complete to a filename. I think > we should have the same behaviour (possibly optional) after a "=". This is a fairly valid point. Maybe we should rethink what the default is here. Perhaps making the default be to complete files here and have it turned off with a style. Oliver __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com