PortValhalla/scripts/Windows/Config/Oh My Posh/Install.ps1

8 lines
246 B
PowerShell

#!/bin/pwsh
param($context)
. "$PSScriptRoot/../../Scripts/Context.ps1";
[Context] $context = $context;
Write-Host "Configuring Oh My Posh!";
$context.AddPowerShellProfileStatement("999_Oh My Posh", 'oh-my-posh init pwsh | Invoke-Expression;');