diff --git a/src/init/starship.ps1 b/src/init/starship.ps1 index e97da7d1..4422a1ed 100755 --- a/src/init/starship.ps1 +++ b/src/init/starship.ps1 @@ -64,7 +64,7 @@ $null = New-Module starship { # Manually write it to console if ($stderr.Result.Trim() -ne '') { # Write-Error doesn't work here - $host.ui.WriteErrorLine($stderr) + $host.ui.WriteErrorLine($stderr.Result) } $stdout.Result;