1 |
On Sun, 2004-05-30 at 08:10, Georgi Georgiev wrote: |
2 |
> maillog: 29/05/2004-22:31:06(-0700): Mike Lundy types |
3 |
> > On Saturday 29 May 2004 20:10, Georgi Georgiev wrote: |
4 |
> > > How do you propose "rm" to prevent you from deleting stuff in your |
5 |
> > > homedir? Do you mean that it should warn you that the parameter you |
6 |
> > > have given is your homedir, or that it should be changed to warn the |
7 |
> > > user who types "rm -rf *"? The latter is quite impossible to |
8 |
> > > accomplish. |
9 |
> > |
10 |
> > mike@levy:~/blah> rm * |
11 |
> > zsh: sure you want to delete all the files in /home/mike/blah [yn]? y |
12 |
> > |
13 |
> > Zsh does this by default. :) |
14 |
> |
15 |
> The suggestion was to fix "rm", not the shell. This zsh feature looks cute |
16 |
> though. |
17 |
|
18 |
With the simple problem, that `rm` doesn't see the *. |
19 |
|
20 |
Bernd |
21 |
-- |
22 |
Firmix Software GmbH http://www.firmix.at/ |
23 |
mobil: +43 664 4416156 fax: +43 1 7890849-55 |
24 |
Embedded Linux Development and Services |
25 |
|
26 |
|
27 |
|
28 |
-- |
29 |
gentoo-dev@g.o mailing list |