You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @dahlbyk - sorry I meant to say that I got autocomplete working on git bash following these steps. I believe that is a bash only thing, and wouldn't impact PowerShell (I'm guessing though).
I have a workaround at the moment using #257 -- I've added my aliases in to GitTabExpansion.ps1 which replaces my alias for git checkout for tab completion purposes
sorry I meant to say that I got autocomplete working on git bash following these steps. I believe that is a bash only thing, and wouldn't impact PowerShell (I'm guessing though).
Correct. posh-git is essentially an incomplete port of that completion (plus other stuff). As far as I can tell, its alias expansion is handled here. It looks like for your alias it's going to offer completion options for git checkout even though the value will actually be used with merge, but there's a way to use the null command : to specify what command's completion should be shown.
I'm certainly open to posh-git being smarter about parsing these Git aliases.
I have a complex
git alias
that I'd like to have tab completion on to fill branch names. The command is as follows:$1
should be a branch name. I'm able to get this to work using git-complete.bash on bit bash on WindowsIs it possible to extend posh-git to handle tab completion for an alias like the above?
The text was updated successfully, but these errors were encountered: