mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 10:00:55 +08:00

Some third party Git tools provide a man page, which we can at least use for completing options. The old logic excluded all generated completions for Git subcommands. Instead, try to load completions for all available external subcommands. We can use $PATH/git-* because /bin/git-add and friends were removed in Git 1.6.0 in 2008. Closes #4358 (the "git-foo" wrapping was added in #7652)