#!/bin/pwsh
. "$PSScriptRoot/../powershell/lib.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
    )