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


Click here to return to the 'skip the script, use shell alias' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
skip the script, use shell alias
Authored by: Anonymous on Apr 26, '01 01:07:15AM

make a new file called ".login" in your home directory
.login is a file whose commands run whenever you start a shell session...
in this file enter this:

alias bbopen "open -a '/Applications/Path/To/BBEdit 6.1 For OS X'"

and save it.

then open a new terminal window, and voila, it is available to you
you will even be able to type bb<tab> and the shell will expand it for you.

this should work with most shells. it will definitely work for the default tcsh shell, but others might need a little tweaking.



[ Reply to This | # ]