-
-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tab expansion in beta4 #769
Comments
It turns out PowerShell's built-in Register-ArgumentCompleter does not take into account aliases to native apps that have registered completers. I think the fix for this is pretty easy. So we will need to pass in any aliases we discover for git,tgit,gitk. |
FYI, I'm getting a PR ready to fix this but there is one big caveat. The code to register argument completers for apps and their aliases, happens once during the load of the module. So you will need to ensure your aliases are defined in your profile script before you import posh-git. |
…n-with-aliases Fix #769 - register aliases with register-argumentcompleter
System Details
Issue Description
I am experiencing a problem with the tab expansion.
I have
Set-Alias g git
in my $profile and tab completion withg
worked inbeta2
andbeta3
, but now broken inbeta4
. Simply does nothing if I typeg fet
Tab.Also, if I set the
UseLegacyTabExpansion
to$True
it starts to work again.The text was updated successfully, but these errors were encountered: