From 36860c599932e43ef924a3ec875e9f1c2d1b2605 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 27 Feb 2014 11:17:58 -0500 Subject: [PATCH] use "command gvim" instead of "$(which gvim)" --- bash_aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_aliases b/bash_aliases index 21f94ec..7bddcfe 100755 --- a/bash_aliases +++ b/bash_aliases @@ -21,9 +21,9 @@ function gvim() { arg="$1" if [ "${arg}" = "" ]; then - $(which gvim) + command gvim else - $(which gvim) --remote-tab-silent "$@" + command gvim --remote-tab-silent "$@" fi } alias cribbage='cribbage -r'