git plugin + git completions no workey #633
Replies: 3 comments
-
I assume you talk about the shell aliases for the git command (but not the git aliases set up by e.g. |
Beta Was this translation helpful? Give feedback.
-
I can add a little more information about what I did to get it to work. Hopefully, that will help you. As akinomyoga suggested you have to add the completion yourself. I had to try this in a couple of places before I found something that worked that I was comfortable with.
You could also just add,
or, if you are using "g" as a global leader for all of your git aliases you could add,
to get all aliases working at once (up to you). Either way you have to define what you want completion for in the git-completion.sh file.
Completion is working with aliases I have defined now. |
Beta Was this translation helpful? Give feedback.
-
Merging #659 fixes this. |
Beta Was this translation helpful? Give feedback.
-
If I enable git plugin and I enable git completions, completions do not work with git aliases. E.g. If I type in gco and hit tab I will not get a list of branches to checkout. Is this expected?
Beta Was this translation helpful? Give feedback.
All reactions