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

Re: bug in 'rm' completion



On Nov 11,  9:48pm, Greg Klanderman wrote:
} Subject: Re: bug in 'rm' completion
}
} otherwise it won't work correctly, for example:
} 
} % rm -rf <tab> foo bar baz

I guess I can't say that's an obscure case, but it sure does take a lot
of work to arrange it. :-)
 
} Do you want the analogous check wrapped around the second line?
} Can we rely on $line[$#line+1,-1] to do the right thing?

I think the latter is reliable, but the test doesn't hurt anything.

} then presumably you want something like the new patch below..

Committed.



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