zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: dana <dana@dana.is>
Cc: Daniel Shahaf <d.s@daniel.shahaf.name>,
	Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] Improve _man file-path completion
Date: Fri, 3 Jan 2020 17:46:01 -0800	[thread overview]
Message-ID: <CAH+w=7ZbMs2xq4gUFGgS0Mh=3EfxqCjnS3HKnie89VGJAf=hXg@mail.gmail.com> (raw)
In-Reply-To: <07B00625-9EC2-454E-B3E0-6F520DE4A899@dana.is>

On Fri, Jan 3, 2020 at 5:16 PM dana <dana@dana.is> wrote:
>
> On 3 Jan 2020, at 18:39, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> > Aside:
> >
> >    % compdef _f f
> >    % _f() _files -/
> >    % f Util/<TAB>
> > .
> > offers files, rather than nothing.  Bug?
>
> I seem to recall this being discussed before, and it isn't really a bug, but
> we could change it if we decided to.

Yes, this was a design decision.  As I recall the conversation ended
up with something along the lines of "if the user has completed all
the way down the directory hierarchy, he probably expects to see
something at the end, rather than nothing."

I suspect this does make it somewhat more difficult than it should be
to create zstyles that display files and directories in separate
groups in a completion listing.

  reply	other threads:[~2020-01-04  2:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-04  0:12 dana
2020-01-04  0:39 ` Daniel Shahaf
2020-01-04  1:17   ` dana
2020-01-04  1:46     ` Bart Schaefer [this message]
2020-01-04 12:46     ` Daniel Shahaf

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='CAH+w=7ZbMs2xq4gUFGgS0Mh=3EfxqCjnS3HKnie89VGJAf=hXg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=d.s@daniel.shahaf.name \
    --cc=dana@dana.is \
    --cc=zsh-workers@zsh.org \
    /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).