Integration with posh-git?
After installing the posh-git module, the previous tab-completion provided by posh-git does not work with git-aliases. Is there any way to integrate it?
This module doesn't work with posh-git.
Because this module doesn't use Set-Alias (That posh-git mention).
This module use PowerShell function.
Set-Alias doesn't work with command with arguments/parameters.
It works with just simple command like git.
Because this module doesn't use
Set-Alias(That posh-git mention). This module use PowerShell function.
Set-Aliasdoesn't work with command with arguments/parameters.
That's perfectly understandable. Now every shell is as smart at parsing functions/aliases as zsh. But still it kinda drops the quality-of-life level back to square one. There should be some workaround, such as set auto-completion handler for all those functions in batch, right?
Is this what u are looking for? Seems that it has been solved by PR. Tab completion works perfectly in both git check<tab> mas<tab> and gco mas<tab>.
Be aware that posh-git should be imported after git-aliases or any self-defined git alias/function, which is mentioned in this issue and solved in PR.