Hmm... yeah. Whenever I get my hands on a new environment I specifically go into ~/.bash_aliases and add alias rm='rm -i'. I figure I can always add -f and that will give me enough thought of what I'm doing to perhaps catch slip-ups. I can't say I've had that problem any time recently.
I have a friend who used to put an empty file named '-i' in any directory which he *really* wanted to be sure he didn't accidentally blow away. So any 'rm *' in one of those directories would turn into an 'rm -i' and he'd have a chance to avert catastrophe.
no subject
no subject
no subject
Re: Bad to worse
Re: Bad to worse
I haven't done the rm * thing in a very long time.
Re: Bad to worse
This time, though, I'm writing code jointly. So I rarely have the most up to date code on my machine.
I typed "rm -a" in a terminal on the machine with the most recent code. Mostly what I deleted was the work the other guy did. I felt really bad. :)
I'll get it all straight again tomorrow.