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

Re: [Bug Report] Erroneous path resolution for `rm /*`



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