Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle undefined __git_complete (#1055)
As identified in #1011 (comment), there are cases where `__git_complete` is undefined because it is loaded dynamically by bash_completions. As suggested in #1011 (comment), using `pkg-config` to find `git-completion` script, which defines `__git_complete`. And using approach similar to https://github.com/felipec/git-completion/blob/master/git-completion.zsh#L28-L49. Fixes #1011
- Loading branch information