fix(pwsh): do not trim output

resolves #2010
This commit is contained in:
Jan De Dobbeleer 2022-03-31 07:17:26 +02:00 committed by Jan De Dobbeleer
parent 61897b78ef
commit f466f919e3

View file

@ -19,7 +19,7 @@ function global:Start-Utf8Process
if ($stderr -ne '') {
$Host.UI.WriteErrorLine($stderr)
}
return $Process.StandardOutput.ReadToEnd().Trim()
return $Process.StandardOutput.ReadToEnd()
}
$env:POWERLINE_COMMAND = "oh-my-posh"