zsh-users
 help / color / mirror / code / Atom feed
From: Florian Hofmann <fhofmann@techfak.uni-bielefeld.de>
To: zsh-users@zsh.org
Subject: Is there a RM_TILDE_WAIT?
Date: Mon, 27 Jan 2014 13:18:35 +0100	[thread overview]
Message-ID: <CAM-0MpV1=NmFu8kq06VD2vWwjDWUkAedvJO7yE=25d2fUiFykQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2014-01-27 12:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-27 12:18 Florian Hofmann [this message]
2014-01-28 16:51 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM-0MpV1=NmFu8kq06VD2vWwjDWUkAedvJO7yE=25d2fUiFykQ@mail.gmail.com' \
    --to=fhofmann@techfak.uni-bielefeld.de \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).