The FreeBSD Diary |
![]() |
(TM) | Providing practical examples since 1998 |
|
changing your default editor
4 March 1999
|
|
|
This setting will also affect the vipw and chsh commands, which is a Good Thing (TM). Please note that I'm using the bash shell. And I've been told this will work for all Bourne derived shells (e.g. sh, bash, ksh). # export EDITOR=/usr/bin/ee # echo $EDITOR /usr/bin/ee For csh derived shells, I'm told that you use this command: # setenv EDITOR /usr/bin/ee You may also want to know about changing your shell. |
|