Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: rfc patch, abort rm instead of only removing the * from the cmdline
- X-seq: zsh-users 13145
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: rfc patch, abort rm instead of only removing the * from the cmdline
- Date: Sat, 16 Aug 2008 21:52:09 +0100
- Cc: Richard Hartmann <richih.mailinglist@xxxxxxxxx>, zsh-users <zsh-users@xxxxxxxxxx>
- In-reply-to: <237967ef0808160902p4dbc6d73w6620f6c69471ea20@xxxxxxxxxxxxxx>
- Mail-followup-to: Mikael Magnusson <mikachu@xxxxxxxxx>, Richard Hartmann <richih.mailinglist@xxxxxxxxx>, zsh-users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0808151649j1d14ce23s1acad02da98fdfdf@xxxxxxxxxxxxxx> <2d460de70808160858p5312805dlf1c9976a9b702a51@xxxxxxxxxxxxxx> <237967ef0808160902p4dbc6d73w6620f6c69471ea20@xxxxxxxxxxxxxx>
On Sat, Aug 16, 2008 at 06:02:13PM +0200, Mikael Magnusson wrote:
[...]
> Maybe it was unclear from the context I gave, but I'm talking about this prompt:
> % rm *
> zsh: sure you want to delete all the files in /tmp/a [yn]?
>
> Answering no to this prompt, I would expect the command to not be run,
> but it is, with the * removed.
[...]
With what version of zsh? I can't reproduce it here with the
current one.
% rm *
zsh: sure you want to delete all the files in /tmp/a [yn]? n
% rm
rm: missing operand
Try `rm --help' for more information.
%
Am I missing something?
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author