zsh-users
 help / color / mirror / code / Atom feed
From: "Oliver Kiddle" <okiddle@yahoo.co.uk>
To: Zsh users list <zsh-users@sunsite.dk>,
	Michael Wardle <michael@endbracket.net>
Subject: Re: generic filename completion like "foo --file=ba<tab>"
Date: Tue, 11 Dec 2001 15:09:49 +0000 (GMT)	[thread overview]
Message-ID: <20011211150949.60784.qmail@web9304.mail.yahoo.com> (raw)
In-Reply-To: <28713.1008073725@csr.com>

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


      parent reply	other threads:[~2001-12-11 15:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-11 12:21 Michael Wardle
2001-12-11 12:28 ` Peter Stephenson
2001-12-11 12:32   ` Will Yardley
2001-12-11 12:44     ` Peter Stephenson
2001-12-11 12:49   ` Borsenkow Andrej
2001-12-11 13:25     ` Vincent Lefevre
2001-12-11 12:55   ` Peter Stephenson
2001-12-11 15:09   ` Oliver Kiddle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011211150949.60784.qmail@web9304.mail.yahoo.com \
    --to=okiddle@yahoo.co.uk \
    --cc=michael@endbracket.net \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).