PortValhalla/scripts/Common/Config/Oh My Posh/install.ps1

14 lines
389 B
PowerShell
Raw Normal View History

#!/bin/pwsh
2024-07-16 12:06:19 +00:00
. "$PSScriptRoot/../../Software/powershell/profile.ps1";
Add-PowerShellProfileStatement `
-System `
-Category "oh-my-posh" `
-Statement $(
@(
"# Oh My Posh!",
$(Get-ScriptInitializer "oh-my-posh init pwsh"),
$(Get-ScriptInitializer "oh-my-posh completion powershell")
) -join [System.Environment]::NewLine
)