diff options
-rw-r--r-- | sh/profile.d/visual.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sh/profile.d/visual.sh b/sh/profile.d/visual.sh index d5280abd..50b8b423 100644 --- a/sh/profile.d/visual.sh +++ b/sh/profile.d/visual.sh @@ -1,8 +1,3 @@ -# If my Emacs wrapper is installed, use emacs as the visual editor; otherwise, -# use the system's vi -if command -v emacsm >/dev/null 2>&1 ; then - VISUAL='emacsm' -else - VISUAL='vi' -fi +# For a visual editor, use whichever kind of vi we get when we invoke 'vi' +VISUAL='vi' export VISUAL |