From c2e79f72a9ca0a6585ca36b2362833bc8e1bc94b Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 14 Mar 2012 13:35:19 -0400 Subject: [PATCH] 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. --- examples/custom_overrides/fred/fred_variables.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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" -- 2.34.1