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


Click here to return to the 'Even easier...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Even easier...
Authored by: Viridian on Dec 09, '04 08:14:24PM
Thanks for the great hint kirkmc, but here's something even easier than typing 'open man:[command]' each time. I used your hint and created a shell alias (tcsh; I'm too lazy to get around to learning about bash):

alias mn 'open man:\!:1'

So I just type 'mn [command]' now. Of course, you can change 'mn' to any name that suits you. The only problem is that the alias won't accept nothing as a command (for calling up the index with 'man:'), so I created another alias for that:

alias mndx 'open man:'

Bwana's great by the way, and I tried the script in the hint, but it didn't open a new tab in Safari, it just loaded in the front-most window. Otherwise it worked, but returned the error message,

'syntax error: Expected expression but found end of line. (-2741)'

Anyone have an idea as to what's happening here?



[ Reply to This | # ]