On Jun 13, 2012, at 5:35 PM, bobPCL wrote:
> I had the command export EDITOR="/usr/bin/edit" in a .profile. I changed
> this to both /usr/bin/bbedit and just bbedit, and got the error -bash:
> edit: command not found
>
> I removed the line from .profile and made a .bashrc and put in the command
> both ways. Same error.
>
> I can run bbedit as "bbedit
file.name" from the command line and it works.
>
> Can someone please explain how to make bbedit the system default editor as
> opposed to vi or vim or whatever it is trying to use?
Howdy,
Run
which bbedit
and use that. It's /usr/local/bin/bbedit on my system.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)