I am trying to install posh-git in the Visual Studio Package Manager console (vs 2012) and I get the following error on startup. \ install.ps1 in the poshgit directory and reloading the profile:
Register-TabExpansion : A parameter cannot be found that matches parameter name 'Type'. At D:\posh-git\GitTabExpansion.ps1:218 char:37 + Register-TabExpansion "git.exe" -Type Command { + ~~~~~ + CategoryInfo : InvalidArgument: (:) [Register-TabExpansion], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Register-TabExpansion
I can install posh-git from a regular command line prompt without any problems that seem to work only this year compared to 2012.
Any idea why I only get this error in vs and how to fix it?
source share