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

Re: Empty directories



On Wed, 01 Oct 2014 12:50:54 +0200
Yuri D'Elia <wavexx@xxxxxxxxxx> wrote:
> On 10/01/2014 12:48 PM, Yuri D'Elia wrote:
> > $ mkdir empty
> > $ cd empty<TAB>
> > 
> > will just stop at 'empty/'.
> > 
> > Is there a way to make directories/local-directories accept empty
> > directories as valid?
> 
> I should perhaps state that the obvious reasoning behind this is the
> "rmdir" completion.

I'm still not understanding.  Like cd completion, "rmdir empty<TAB>"
will also stop at "empty/" (with a / that disappears if you hit return
immediately). But what else could you want?

pws



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