From f466f919e3b548a595521aa1c748b43b70a77f19 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Thu, 31 Mar 2022 07:17:26 +0200 Subject: [PATCH] fix(pwsh): do not trim output resolves #2010 --- src/shell/scripts/omp.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/scripts/omp.ps1 b/src/shell/scripts/omp.ps1 index 85cf96f5..70e6cb90 100644 --- a/src/shell/scripts/omp.ps1 +++ b/src/shell/scripts/omp.ps1 @@ -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"