mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 19:15:40 +08:00
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:
parent
a561904afd
commit
8bb2ca95c8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user