mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
fix(pwsh): use standard separator char
This commit is contained in:
parent
d570673127
commit
a0e18e998c
|
@ -76,13 +76,13 @@ function Get-PoshThemes {
|
|||
Write-Host $logo
|
||||
$poshCommand = Get-PoshCommand
|
||||
Get-ChildItem -Path "$PSScriptRoot\themes\*" -Include '*.omp.json' | Sort-Object Name | ForEach-Object -Process {
|
||||
Write-Host ("─" * $consoleWidth)
|
||||
Write-Host ("-" * $consoleWidth)
|
||||
Write-Host "Theme: $esc[1m$($_.BaseName.Replace('.omp', ''))$esc[0m"
|
||||
Write-Host ""
|
||||
& $poshCommand -config $($_.FullName) -pwd $PWD
|
||||
Write-Host ""
|
||||
}
|
||||
Write-Host ("─" * $consoleWidth)
|
||||
Write-Host ("-" * $consoleWidth)
|
||||
Write-Host ""
|
||||
Write-Host "To change your theme, use the Set-PoshPrompt command. Example:"
|
||||
Write-Host " Set-PoshPrompt -Theme jandedobbeleer"
|
||||
|
|
Loading…
Reference in a new issue