I know that if I enter
on the command line, it changes my default editor to joe - but that's temporary.
How do I make that default the default default? Do I simply add the same line to .bash_profile?
(No sniggering about joe, please. I learned WordStar back in the 1970s, and it works well enough that I don't see a need to devote dozens of hours to learning another editor.)