zsh-workers
 help / color / mirror / code / Atom feed
* [Bug] incorrect warning when I type rm /*
@ 2020-07-01 10:02 Jonas Bräutigam
  2020-07-01 11:00 ` Daniel Shahaf
  0 siblings, 1 reply; 5+ messages in thread
From: Jonas Bräutigam @ 2020-07-01 10:02 UTC (permalink / raw)
  To: zsh-workers

Hello,

these days I wrote a command wrong. Instead of

"$ rm ./*" <- deleting  in the current directory

I wrote:

"$ rm /*" <- deleting in the root path "/"

zsh warn me with:

"zsh: sure you want to delete all 4 files in /home/[user]/Downloads [yn]?"

After I typed "y", it tried to delete the files in "/".

So the correct warning should be:

"zsh: sure you want to delete all X files in / [yn]?"


I use debian 10.4 with no "rm"-specifiy plugin.


Whatch out If you try it! :D


Best Regards

Jonas


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-03 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 10:02 [Bug] incorrect warning when I type rm /* Jonas Bräutigam
2020-07-01 11:00 ` Daniel Shahaf
2020-07-01 11:33   ` Mikael Magnusson
2020-07-01 12:50     ` Daniel Shahaf
2020-07-03 13:41     ` Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).