It is not relevant, all the alias does is replace the command 'edit' with the 
command '/usr/bin/bbedit', the default MacOS X install does not have an 'edit' 
command.

Note that you can add parameters to the alias:

        alias edit='/usr/bin/bbedit --wait --resume'

There is the '/usr/bin/open' command which will open a document with its Mac 
application, so I would use that for you images, etc...

François

On Jun 14, 2012, at 1:58 PM, Rick Gordon wrote:

> But how will that work for other classes of documents, such as images, which 
> have their own default editor?
> 
> ------------------
> 
> On 6/14/12 at 8:28 AM -0500, Rod Buchanan wrote in a message entitled
> "Re: change default editor to bbedit":
> 
>> On Jun 13, 2012, at 7:25 PM, bobPCL wrote:
>> 
>>> thanks. That does work for crontab. Unfortunately it does work if you say 
>>> "edit file.name", you can say bbedit but not edit.
>> 
>> Add this to ~/.bashrc
>> 
>>      alias edit='/usr/bin/bbedit'
>> 
>> --
>> Rod
> 
> -- 
> ___________________________________________________
> 
> RICK GORDON
> EMERALD VALLEY GRAPHICS AND CONSULTING
> ___________________________________________________
> 
> WWW:   http://www.shelterpub.com
> 
> -- 
> You received this message because you are subscribed to the 
> "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem, 
> please email "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to