How to change primary text editor (terminal)
MacBook Pro, Mac OS X (10.5.7)
MacBook Pro, Mac OS X (10.5.7)
ls -l /usr/bin/vi
lrwxr-xr-x 1 root wheel 3 Apr 12 2008 /usr/bin/vi -> vim
I was just looking for some sort of system wide, single file I could edit like rc.conf where I could set the editor env var to /usr/bin/emacs.
/etc/profile # sh, bash, zsh
/etc/csh.login # csh, tcsh
$HOME/.macosx/environment.plist
How to change primary text editor (terminal)