git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
* 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
* 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

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 14:23 jost.schulte
2021-04-07 19:52 ` Junio C Hamano
2021-04-07 20:00 ` Jeff King

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).