Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in 'rm' completion
- X-seq: zsh-workers 27392
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: bug in 'rm' completion
- Date: Wed, 11 Nov 2009 20:21:17 -0800
- In-reply-to: <m3d43omp9r.fsf@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <19191.43212.832827.724369@xxxxxxxxxxxxxxxxxx> <m38wef4qqs.fsf@xxxxxxxxxxxxxx> <091109092926.ZM26572@xxxxxxxxxxxxxxxxxxxxxx> <m3639j4mcl.fsf@xxxxxxxxxxxxxx> <m3iqdjmm31.fsf@xxxxxxxxxxxxxx> <091110075221.ZM27832@xxxxxxxxxxxxxxxxxxxxxx> <m3d43omp9r.fsf@xxxxxxxxxxxxxx>
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