From: Chris Koeritz Date: Wed, 14 Mar 2012 17:35:19 +0000 (-0400) Subject: tossing VISUAL as being different from EDITOR, since this causes problems on assorted X-Git-Tag: 2.140.90~1466 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=c2e79f72a9ca0a6585ca36b2362833bc8e1bc94b;p=feisty_meow.git tossing VISUAL as being different from EDITOR, since this causes problems on assorted platforms when gvim doesn't wait for the editing to be finished. --- diff --git a/examples/custom_overrides/fred/fred_variables.sh b/examples/custom_overrides/fred/fred_variables.sh index e22f2b93..682d7d65 100644 --- a/examples/custom_overrides/fred/fred_variables.sh +++ b/examples/custom_overrides/fred/fred_variables.sh @@ -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"