|
|
|
Do not make replacement versions or aliases for common programs
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. ;) |
SearchFrom our Sponsor...What's New:Hints4 new Hints in the last 24 hoursComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
The Editor's Corner...Here are some of my (robg) other projects...
Hints by TopicNews from Macworld
The macosxhints PollWhat version of OS X are you running as your main OS?
Other polls | 11,328 votes | 42 comments
|
|
Copyright © 2009 Mac Publishing LLC (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.03 seconds |
|