fish-nuggets
fish-nuggets copied to clipboard
Should git aliases tab-complete?
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
:+1:
There is a discussion in the fishshell issue tracker: https://github.com/fish-shell/fish-shell/issues/393
This works in fish without nuggets.