fix(pwsh): write debug correctly

This commit is contained in:
Jan De Dobbeleer 2022-04-05 19:43:16 +02:00 committed by Jan De Dobbeleer
parent 3c438218bd
commit 46992bc7e0

View file

@ -124,9 +124,7 @@ function global:Initialize-ModuleSupport {
Set-Item -Path Function:prompt -Value $Prompt -Force Set-Item -Path Function:prompt -Value $Prompt -Force
function global:Write-PoshDebug { function global:Write-PoshDebug {
$omp = "::OMP::" @(Start-Utf8Process "::OMP::" "debug") -join "`n"
$cleanPWD, $cleanPSWD = Get-PoshContext
@(Start-Utf8Process $omp "debug --config=""$Env:POSH_THEME""") -join "`n"
} }
<# <#