Gentoo Archives: gentoo-dev

From: Mike Lundy <novas007@×××.net>
To: Gentoo Dev <gentoo-dev@l.g.o>, gentoo-user@l.g.o
Subject: Re: [gentoo-dev] rm tragedies: was how to clean the "/tmp" dir
Date: Sun, 30 May 2004 05:31:21
Message-Id: 200405292231.15942.novas007@gmx.net
In Reply to: Re: [gentoo-dev] rm tragedies: was how to clean the "/tmp" dir by Georgi Georgiev
1 On Saturday 29 May 2004 20:10, Georgi Georgiev wrote:
2 > How do you propose "rm" to prevent you from deleting stuff in your
3 > homedir? Do you mean that it should warn you that the parameter you
4 > have given is your homedir, or that it should be changed to warn the
5 > user who types "rm -rf *"? The latter is quite impossible to
6 > accomplish.
7
8 mike@levy:~/blah> rm *
9 zsh: sure you want to delete all the files in /home/mike/blah [yn]? y
10
11 Zsh does this by default. :)
12
13
14 --
15 All bad precedents began as justifiable measures.
16 -Julius Caesar

Replies

Subject Author
Re: [gentoo-dev] rm tragedies: was how to clean the "/tmp" dir Georgi Georgiev <chutz@×××.net>