git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Shell completion for branch names
@ 2021-04-07 14:23 jost.schulte
  2021-04-07 19:52 ` Junio C Hamano
  2021-04-07 20:00 ` Jeff King
  0 siblings, 2 replies; 4+ messages in thread
From: jost.schulte @ 2021-04-07 14:23 UTC (permalink / raw)
  To: Git

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


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Shell completion for branch names
@ 2021-04-07 14:23 jost.schulte
  0 siblings, 0 replies; 4+ messages in thread
From: jost.schulte @ 2021-04-07 14:23 UTC (permalink / raw)
  To: Git

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-07 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-07 14:23 Shell completion for branch names jost.schulte
2021-04-07 19:52 ` Junio C Hamano
2021-04-07 20:00 ` Jeff King
  -- strict thread matches above, loose matches on Subject: below --
2021-04-07 14:23 jost.schulte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).