zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: schaefer@candle.brasslantern.com (Bart Schaefer)
Cc: zsh.Andy@spiegl.de, zsh-users@sunsite.auc.dk
Subject: Re: two completion questions
Date: Mon, 13 Dec 1999 10:54:12 +0000 (GMT)	[thread overview]
Message-ID: <E11xT7M-0001fL-00@crucigera.fysh.org> (raw)
In-Reply-To: <991210183337.ZM27395@candle.brasslantern.com> from Bart Schaefer at "Dec 10, 1999  6:33:37 pm"

Bart Schaefer wrote:
>If you're using the new function-based completion in 3.1.6, it's going to
>require some editing of the _path_files completer.  Hey, Sven, do you (or
>any other zsh-workers) remember the rationale for this handling of ".."?

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.

-zefram


  reply	other threads:[~1999-12-13 10:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-10 17:40 Andy Spiegl
1999-12-10 18:33 ` Bart Schaefer
1999-12-13 10:54   ` Zefram [this message]
1999-12-14 15:17   ` Andy Spiegl
1999-12-13 10:33 Sven Wischnowsky
1999-12-14 15:48 Sven Wischnowsky

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=E11xT7M-0001fL-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=schaefer@candle.brasslantern.com \
    --cc=zsh-users@sunsite.auc.dk \
    --cc=zsh.Andy@spiegl.de \
    /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).