zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Empty directories
Date: Wed, 01 Oct 2014 08:47:33 -0700	[thread overview]
Message-ID: <141001084733.ZM5806@torch.brasslantern.com> (raw)
In-Reply-To: <m0h45m$lms$1@ger.gmane.org>

On Oct 1,  4:47pm, Yuri D'Elia wrote:
}
} I tried to look into _path_files, and there's actually a special rule to
} handle empty directories, though I got lost in the expansion loop.

I'm not entirely sure (see "no one really understands") but I think that
rule is for handling partial path completion, that is, given "a/b/c" it
eliminates empty directories matching a* or a*/b* -- because it knows it
has to get as far as a*/b*/c*, so empty dirs along the way are useless.


  reply	other threads:[~2014-10-01 15:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-01 10:48 Yuri D'Elia
2014-10-01 10:50 ` Yuri D'Elia
2014-10-01 11:00   ` Peter Stephenson
2014-10-01 12:47     ` Yuri D'Elia
2014-10-01 13:25       ` Peter Stephenson
2014-10-01 14:47         ` Yuri D'Elia
2014-10-01 15:47           ` Bart Schaefer [this message]
2014-10-01 18:14             ` Yuri D'Elia
2014-10-01 19:58               ` Bart Schaefer
2014-10-01 20:11                 ` Yuri D'Elia
2014-10-01 17:01           ` Ray Andrews
2014-10-02  4:24             ` Bart Schaefer
2014-10-01 13:35       ` Vincent Lefevre

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=141001084733.ZM5806@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@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).