From: jost.schulte@tutanota.com
To: Git <git@vger.kernel.org>
Subject: Shell completion for branch names
Date: Wed, 7 Apr 2021 16:23:16 +0200 (CEST) [thread overview]
Message-ID: <MXghkzC----2@tutanota.com> (raw)
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
next reply other threads:[~2021-04-07 14:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 14:23 jost.schulte [this message]
2021-04-07 19:52 ` Shell completion for branch names 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MXghkzC----2@tutanota.com \
--to=jost.schulte@tutanota.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.