Use ping's timeout param for OSX compat

This commit is contained in:
Dylan Garrett 2014-02-28 00:07:08 -05:00
parent 8016454858
commit 3a6b0f2e8d

View File

@ -8,7 +8,7 @@ end
# enable the complation by invoking `gi list`
if not set -q -g gi_list
timeout 2 ping -c 1 -q gitignore.io >/dev/null
ping -t 2 -c 1 -q gitignore.io >/dev/null
set gi_available $status
if test $gi_available