From 46992bc7e0559076ffe8f5274e14945dc8cbc66e Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Tue, 5 Apr 2022 19:43:16 +0200 Subject: [PATCH] fix(pwsh): write debug correctly --- src/shell/scripts/omp.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shell/scripts/omp.ps1 b/src/shell/scripts/omp.ps1 index f8e3c305..5ec4d0a7 100644 --- a/src/shell/scripts/omp.ps1 +++ b/src/shell/scripts/omp.ps1 @@ -124,9 +124,7 @@ function global:Initialize-ModuleSupport { Set-Item -Path Function:prompt -Value $Prompt -Force function global:Write-PoshDebug { - $omp = "::OMP::" - $cleanPWD, $cleanPSWD = Get-PoshContext - @(Start-Utf8Process $omp "debug --config=""$Env:POSH_THEME""") -join "`n" + @(Start-Utf8Process "::OMP::" "debug") -join "`n" } <#