Closed dotps1 closed 5 years ago
I had the same issue, I resolved it by:
1) Updating my profile so that when I create the $PowerLinePrompt variable, I explicitly type it:
$PowerLinePrompt = 1, @(blah,blah,bhal)
becomes
[PowerLine.Prompt]$PowerLinePrompt = 1, @(blah,blah,blah)
Then, I had to modify the .psm, which for me is in
C:\Program Files\WindowsPowerShell\Modules\powerline\2.3.1
I changed all instances of [RgbColor] to [PoshCode.Pansies.RgbColor]
HTH.
I tried this as well, it did suppress the errors, however Write-GitStatusPowerLine
still does not work.
hm, dunno. I flailed around with it for a while, but I dont think I made any other changes. The way I finally ended up getting there was running .$PROFILE, then looking at $Error
Unable to use
Write-GitStatusPowerLine
within my PowerLine PromptModule info:
Running Windows 10 x64 Enterprise 1702.