Add Oh My Posh to windows

This commit is contained in:
Manuel Thalmann 2023-07-27 02:57:35 +02:00
parent f70513f234
commit 40788f3d98
3 changed files with 15 additions and 0 deletions
scripts/Windows/Config/Oh My Posh

View file

@ -0,0 +1,7 @@
#!/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;');