From 3c00ba01c52debf9cc1268d988648075dde44925 Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Tue, 30 Nov 2010 00:03:47 +1000 Subject: [PATCH] Use vim or mvim as GIT_EDITOR --- shell/exports.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/exports.sh b/shell/exports.sh index ed64648..4ed8319 100644 --- a/shell/exports.sh +++ b/shell/exports.sh @@ -12,7 +12,7 @@ fi export VISUAL="$EDITOR" export GEM_OPEN_EDITOR="$EDITOR" -export GIT_EDITOR=`which vim` # http://is.gd/hGrsF +export GIT_EDITOR="$(which mvim || which vim) -f" # http://is.gd/hGrsF export IRBRC="$HOME/.irbrc" export JEWELER_OPTS="--rspec --gemcutter --rubyforge --reek --roodi"