use "command gvim" instead of "$(which gvim)"

This commit is contained in:
josh committed 2014-02-27 11:17:58 -05:00
1 parent b001902956
commit 36860c5999
1 file changed
+2 -2
+2 -2
View File
@@ -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'