X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/2041672dbfb29ef4baf4a73118edd6bdf8fcc106..85bbf8d3d51ef892f4707fcbd6ffc841818175d1:/bash_profile diff --git a/bash_profile b/bash_profile index 287f3cb..86e07b1 100644 --- a/bash_profile +++ b/bash_profile @@ -104,15 +104,16 @@ export QMAILINJECT=c # --- Find a text editor --- -export EDITOR=ed -for ed in "emacs21 -nw" "emacs -nw" vi pico nano ae; do +export MDW_EDITOR=ed +for ed in mg "emacs22 -nw" "emacs21 -nw" "emacs -nw" vi pico nano ae; do name=`echo $ed | sed 's/ .*$//'` if __mdw_programp "$name"; then - EDITOR=$ed + MDW_EDITOR=$ed break fi done -export VISUAL="$EDITOR" + +export EDITOR=mdw-editor VISUAL=mdw-editor # --- Various options for programs --- @@ -122,6 +123,8 @@ umask 002 unset LANG LC_COLLATE +__mdw_programp distcc && export CCACHE_PREFIX=distcc + export TEXINPUTS=".:$HOME/lib/tex//:" __mdw_addto INFOPATH r $HOME/info /usr/info /usr/share/info /usr/local/info