mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
fix(pwsh): write debug correctly
This commit is contained in:
parent
3c438218bd
commit
46992bc7e0
|
@ -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"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
Loading…
Reference in a new issue