It's possible to set up autocompletion after brew install git-extras semi-automatically.
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 18.1k
- Forks
- 1.2k
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 1
Description
Original discussion: https://github.com/tj/git-extras/issues/1101
I learned today that we can set up the completion script via brew. Here is an example:
https://github.com/Homebrew/homebrew-core/blob/7f1cee678803c55daa0d826222437184e56b4231/Formula/k/kubectx.rb#L22
https://github.com/ahmetb/kubectx/tree/master/completion
Some manual configuration is still required: https://docs.brew.sh/Shell-Completion
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked original discussion and the Homebrew kubectx formula and completion examples. Check how git-extras' completion script is currently exposed and compare it with Homebrew's shell-completion guidance. Done means brew installation can set up completion semi-automatically while clearly documenting any remaining manual configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100