tossing VISUAL as being different from EDITOR, since this causes problems on assorted
[feisty_meow.git] / examples / custom_overrides / fred / fred_variables.sh
index e22f2b93d15d7057d93b4635e1110f595fa74649..682d7d65cae92aed2dddacd67c12af583669fc7b 100644 (file)
@@ -36,11 +36,8 @@ if [ -z "$NETHACKOPTIONS" ]; then
   export BROWSER=/usr/bin/firefox
 
   # editor and other mixed settings...
-  export VISUAL="$(which gvim)"
-  if [ $? -ne 0 ]; then
-    export VISUAL="$(which vi)"
-  fi
   export EDITOR="$(which vi)"
+  export VISUAL="$EDITOR"
   # the editors for revision control must wait while document is edited,
   # so gvim and others launched to x window are not appropriate.
   export GIT_EDITOR="$EDITOR"