Shell completion for branch names
- From
- jost.schulte@tutanota.com <jost.schulte@tutanota.com>
- Date
- Apr 7, 2021, 14:23 UTC
- Message-ID
- <MXghkzG----2@tutanota.com>
Hello guys,
I have a question regarding git-completion. I'm using zsh and have added the function .git-completion.bash. That gives me some auto-completion for branch names.
What I'm looking for: I have a branch named "feature/issue-123-add-feature" for example. I'd like to type "git switch 123[tab]". Is there some function out there that provides this?
Cheers Jost