microsoft / inshellisense

IDE style command line auto complete
MIT License
8.24k stars 181 forks source link

Unable to autocomplete a git command #6

Closed adder32 closed 8 months ago

adder32 commented 8 months ago

Describe the bug Inshellisense is unable to autocomplete a git command.

To Reproduce Start is (with is --shell bash), and try typing up a git command, such as git log --graph --decorate --pretty=oneline --abbrev-commit --all

Expected behavior Currently, when I type g, the only option is --grep. d offers no options. p offers --patch. a offers --all. This should be able to find all the options that git (or any command) offers.

Environment

cpendery commented 8 months ago

Hey @adder32, it looks like this is an issue with the underlying Fig autocomplete spec for git log, options shown here. I'm sure they'd be happy to accept a PR fixing this, but this isn't an issue with inshellisense's execution of the spec. I'm going to close this, but please feel free to open up an issue on their repo.