Export

Export

Posted by: deke
Posted on: 2002-09-11 00:59:00

I know that if I enter
export EDITOR=joe
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.)






Re: Export

Posted by: will
Posted on: 2002-09-11 01:10:00

Put:
export VISUAL=joe

in .bash_profile, assuming you're using bash. If you're using tcsh, put:
setenv VISUAL joe

(EDITOR will probably work too, but it's not really correct - historically EDITOR is used to specify the line editor (ie ed or whatever), and VISUAL is used to set the full screen editor (ie vi / emacs).

Re: Export

Posted by: deke
Posted on: 2002-09-11 01:16:00

Wow. Eleven minutes to a response. I guess that means all systems are working *well* tonight!

I'm sure glad *I* wasn't having to figure out the recent email system problems....

Re: Export

Posted by: will
Posted on: 2002-09-11 01:34:00

I guess it means that someone is working the graveyard shift this week :>

Tags: profileenteradd