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

14 lines
386 B
PowerShell

#!/bin/pwsh
. "$PSScriptRoot/../../Software/PowerShell/Profile.ps1";
Add-PowerShellProfileStatement `
-System `
-Category "oh-my-posh" `
-Script $(
@(
"# Oh My Posh!",
$(Get-ScriptInitializer "oh-my-posh init pwsh"),
$(Get-ScriptInitializer "oh-my-posh completion powershell")
) -join [System.Environment]::NewLine
)