Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: generic filename completion like "foo --file=ba<tab>"
- X-seq: zsh-users 4530
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh users list <zsh-users@xxxxxxxxxx>, Michael Wardle <michael@xxxxxxxxxxxxxx>
- Subject: Re: generic filename completion like "foo --file=ba<tab>"
- Date: Tue, 11 Dec 2001 15:09:49 +0000 (GMT)
- In-reply-to: <28713.1008073725@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author