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

Re: Dangerous feature - multios with globbing



On Sat, Sep 21, 2024 at 9:25 AM Nadav Har'El <nyharel@xxxxxxxxx> wrote:
>
> But by mistake, I typed:
>
>     xv > *
>
> What actually happened was that all my files - 4000 of them - were truncated to size 0!

It might be possible to make this particular construct issue a
"really?" prompt when CLOBBER + MULTIOS are set, similar to what "rm"
does when RM_STAR_SILENT is not set.




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