Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

zsh again | 15 comments | Create New Account
Click here to return to the 'zsh again' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
zsh again
Authored by: SeanAhern on Oct 03, '05 08:50:12AM

One other advantage of zsh is the automatic detection of the use of * with an rm command. Not only will it prompt you for a double-check, but it can also require an automatic 10 second pause before it does anything, just to give you time to think about it before doing anything catastrophic.

Personally, I never use the system's rm. I alias/function that to code that moves things to ~/.Trash. Much safer! There have been a number of hints here at MacOSXHints about that.

[ Reply to This | # ]
zsh again
Authored by: wgscott on Oct 03, '05 08:58:57AM
I'm also a zsh fan, but wanted to point out that there is a program called wtf that decodes abbreviations (including wtf). Also, here is Gary Kerbaugh's Bourne-again rm:

[ Reply to This | # ]