Skip to content

Commit

Permalink
fix(pwsh): use standard separator char
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Mar 14, 2021
1 parent d570673 commit a0e18e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/powershell/oh-my-posh/oh-my-posh.psm1
Expand Up @@ -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"
Expand Down

0 comments on commit a0e18e9

Please sign in to comment.