fish-nuggets icon indicating copy to clipboard operation
fish-nuggets copied to clipboard

Should git aliases tab-complete?

Open runningskull opened this issue 12 years ago • 2 comments

Thanks for the scripts. They're helping to nudge me to fish full-time from bash.

One thing I miss, though, is tab-completion for my git aliases. For instance, ideally git co <tab> should work like git checkout <tab>

I know almost nothing about fish scripting (and am a poor bash scripter as well) - but the last line of the git completions file looks like it should do the trick. Is that what it's for? If so, is there a common mistake I might be making?

Thanks again

runningskull avatar Jun 08 '12 16:06 runningskull

:+1:

There is a discussion in the fishshell issue tracker: https://github.com/fish-shell/fish-shell/issues/393

martinklepsch avatar Feb 20 '13 14:02 martinklepsch

This works in fish without nuggets.

dag avatar May 11 '13 13:05 dag