Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Empty directories



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.



Messages sorted by: Reverse Date, Date, Thread, Author