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

This commit is contained in:
Josh Holtrop 2014-02-27 11:17:58 -05:00
parent b001902956
commit 36860c5999

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'