zsh-users
 help / color / mirror / code / Atom feed
* Is there a RM_TILDE_WAIT?
@ 2014-01-27 12:18 Florian Hofmann
  2014-01-28 16:51 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Hofmann @ 2014-01-27 12:18 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 539 bytes --]

Hi all!

In a sudden lapse of reason I deleted part of my home by typing "rm -rf ~"
instead of "rm -rf *" (to delete the folder content). While "rm -rf *"
warns me, "rm -rf ~" just went on and wracked havoc.

I know this probably happen doesn't happen often (at least this is the
first time I did this in 10+ years of Linux usage), but to prevent this
from happening "rm -rf ~" just trigger the the same prompt as "rm -rf *",
shouldn't it?

Kind regards,
Florian

PS: Fortunately I did a full backup just this morning, so nothing is lost.

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

end of thread, other threads:[~2014-01-28 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-27 12:18 Is there a RM_TILDE_WAIT? Florian Hofmann
2014-01-28 16:51 ` Bart Schaefer

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).