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'