checks/git: Give grep a literal tab

Apparently the grep on FreeBSD doesn't do \s or \t. Since we're
looking for an actual tab, just give it an actual tab.

See https://builds.sr.ht/~faho/job/448496.
This commit is contained in:
Fabian Homborg 2021-03-04 16:25:41 +01:00
parent a561904afd
commit 8bb2ca95c8

View File

@ -24,7 +24,7 @@ git init >/dev/null 2>&1
# Note: We *can't* list all here because in addition to aliases,
# git also uses all commands in $PATH called `git-something` as custom commands,
# so this depends on system state!
complete -C'git ' | grep '^add\s'
complete -C'git ' | grep '^add'\t
# (note: actual tab character in the check here)
#CHECK: add Add file contents to the index