From ce93ca963c3d3daf91a8c2b67dd622f17aa5261b Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 5 Mar 2012 13:36:46 -0500 Subject: [PATCH] trying to get gvim back in. --- examples/custom_overrides/fred/fred_variables.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/custom_overrides/fred/fred_variables.sh b/examples/custom_overrides/fred/fred_variables.sh index 9157d925..e7c97e7a 100644 --- a/examples/custom_overrides/fred/fred_variables.sh +++ b/examples/custom_overrides/fred/fred_variables.sh @@ -33,7 +33,10 @@ export from="Fred T. Hamster " export BROWSER=/usr/bin/firefox # editor and other mixed settings... -export VISUAL="$(which vi)" +export VISUAL="$(which gvim)" +if [ $? -ne 0 ]; then + export VISUAL="$(which vi)" +fi export EDITOR="$VISUAL" # this hideous mess is necessitated by our not having found the source of the -- 2.34.1