The purposes of this repo is to provide a reproducible example for dsifford/yarn-completion#19.
$ echo "bash: ${BASH_VERSINFO[*]}" ::: "bash-completion: ${BASH_COMPLETION_VERSINFO[*]}"
bash: 4 4 23 1 release x86_64-apple-darwin17.5.0 ::: bash-completion: 2 8
There are several scenarios here:
yarn test:
: presstab
- completion does nothing, expected: it'll complete toyarn test:some
yarn test:somet
: presstab
- completion does nothing, expected: it'll complete toyarn test:something
yarn test:some
: presstab
twice - completion does nothing, expected: it'll offertest:something
andtest:somemore
yarn test
: presstab
- completion finishes it toyarn test:some
as expected