I was using posh-git quite happily on Windows 10. I got a new laptop with Windows 11 on it and I have tried to install post-git and use it like I did on my old Windows 10 laptop.
Register-ArgumentCompleter: C:\Users\{Username}\Documents\PowerShell\Modules\posh-git\1.1.0\GitTabExpansion.ps1:558
Line |
558 | … rShell.Core\Register-ArgumentCompleter -CommandName $cmdNames -Native …
| ~~~~~~~~~
| Cannot bind argument to parameter 'CommandName' because it is null.
Does anyone know why this might of started happening, is it a Windows 11 issue?
System Details
Issue Description
I was using posh-git quite happily on Windows 10. I got a new laptop with Windows 11 on it and I have tried to install post-git and use it like I did on my old Windows 10 laptop.
In my PowerShell profile I call:
This then throws the following error:
Does anyone know why this might of started happening, is it a Windows 11 issue?