fix Bash completion on macOS (#2074)

* fix Bash completion on macOS

The Homebrew-provided bash-completion is version 1.x,
which doesn't provide _init_completion. We add a standard
shim instead.

* Add entry to CHANGELOG

* Update CHANGELOG.md

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>

* review: avoid calling _split_longopt repeatedly

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
Josh PencheonandVille Skyttä authored and GitHub committed 2022-02-24 07:57:23 +01:00
1 parent e4f6fb2afe
commit ad6cae433a
2 files changed
+17 -2

No files matched your search

+2
View File
@@ -7,6 +7,8 @@
## Bugfixes
- Fix bash completion on bash 3.x and bash-completion 1.x. See #2066 (@joshpencheon)
## Other
## Syntaxes