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

Click here to return to the 'Do not make replacement versions or aliases for common programs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Do not make replacement versions or aliases for common programs
Authored by: marbx on Feb 29, '08 11:48:01AM

For people who use several computers on a daily basis, this might be a problem. Garumph makes the same point - if you use this function often, it may be easy to forget this is something that you had to add on (kind of like Quicksilver, I think). I disagree that aliasing in protection is always a bad idea, though. For example, every time I get an account on a Solaris box, the first thing I add to my profile is:

alias killall 'echo Do not use killall on Solaris unless you really mean it\!'

It's just a handy reminder, since I don't use Solaris often enough to remember that killall works differently on Solaris.

I guess I've got two real replies to this: One, this is just an extra safety measure. I still never trash anything (or rm it) until I'm sure I don't want it anymore. When you delete something, you should consider it deleted. But it's still nice to be able to drag something back out of the trash when you need to, whether you deleted it from the Finder or from a shell prompt. Of course, if you know you're going to forget that this doesn't work on every box you work on, don't use it. But for the rest of us, it may come in handy from time to time.

Two, there's nothing stopping you from putting this in the profile on every machine you use. Well, there may (for example) be a policy against editing profiles on company servers, I suppose. But both this function and the .Trash directory are kept in your home directory. I see no reason you can't go ahead and put this on multiple machines, whether running HP-UX, Solaris, IRIX, or what have you. Of course, you'd want to have a tcsh or ksh version, unless you've upgraded to bash on all those. ;)

[ Reply to This | # ]