From: Chris Koeritz Date: Mon, 5 Mar 2012 18:36:46 +0000 (-0500) Subject: trying to get gvim back in. X-Git-Tag: 2.140.90~1522 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=ce93ca963c3d3daf91a8c2b67dd622f17aa5261b trying to get gvim back in. --- 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