Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Bug Report] Erroneous path resolution for `rm /*`
- X-seq: zsh-workers 49367
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Le, Vinh-Kha" <lvinhkh@xxxxxxxxxx>
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [Bug Report] Erroneous path resolution for `rm /*`
- Date: Wed, 1 Sep 2021 15:12:24 -0700
- Archived-at: <https://zsh.org/workers/49367>
- In-reply-to: <CAH+w=7b8k+furgpSmbo-NiidOaCTdBmrz=iGbnCfcs3evc8WyA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <7de6834ef6d245ddb7d3cc881ff5902c@EX13D27UWB004.ant.amazon.com> <CAH+w=7b8k+furgpSmbo-NiidOaCTdBmrz=iGbnCfcs3evc8WyA@mail.gmail.com>
On Wed, Sep 1, 2021 at 3:09 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Sep 1, 2021 at 2:33 PM Le, Vinh-Kha <lvinhkh@xxxxxxxxxx> wrote:
> >
> > Running `rm /*` triggers a prompt for the pattern `*` at the current directory rather than at root. This is misleading and could prove disastrous.
>
> I am almost certain I've seen this reported before, but no fix was
> ever committed.
Yep, thread starting with workers/46169 in January 2020, but none of
the (several? I didn't try to re-parse the whole thread) patches got
applied.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author