Hash autocompletion #895
azaslavsky
started this conversation in
Ideas
Replies: 1 comment
-
A user created a script for autocompletions in zsh here, you could try that: #217 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm thinking back to my time at a company that used a similar solution to git-branchless, and one nice feature we had was hash autocompletion. It essentially looked at all the hashes printed by
git smartlog
, and for commands likegit move
that require naming specific commits, it would provide an autocomplete. For example, if you have commits identified by hashesaaaaaaa
andbbbbbbb
, typinggit move -d a<TAB>
would result in an autocompletion populating togit move -d aaaaaaa
. I know the project has generally avoided first-class autocomplete so far, but perhaps there is a script that could scrape the smartlog output in some clever way to provide autocomplete support?Beta Was this translation helpful? Give feedback.
All reactions