param(
    $Action,
    [hashtable] $Arguments
)

. "$PSScriptRoot/../PowerShell/Profile.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";

Start-SoftwareInstaller @PSBoundParameters `
    -Configurator {
        Add-PowerShellProfileStatement `
            -System `
            -Category "zoxide" `
            -Script (
                @(
                    "# zoxide",
                    (Get-ScriptInitializer "zoxide init powershell | Out-String")
                ) -join [System.Environment]::NewLine);
    };