use "command gvim" instead of "$(which gvim)"
This commit is contained in:
1 parent
b001902956
commit
36860c5999
1 file changed
+2
-2
+2
-2
@@ -21,9 +21,9 @@ function gvim()
|
|||||||
{
|
{
|
||||||
arg="$1"
|
arg="$1"
|
||||||
if [ "${arg}" = "" ]; then
|
if [ "${arg}" = "" ]; then
|
||||||
$(which gvim)
|
command gvim
|
||||||
else
|
else
|
||||||
$(which gvim) --remote-tab-silent "$@"
|
command gvim --remote-tab-silent "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
alias cribbage='cribbage -r'
|
alias cribbage='cribbage -r'
|
||||||
|
|||||||
Reference in new issue
Block a user