PortValhalla/scripts/Common/Software/zoxide/Main.ps1

16 lines
487 B
PowerShell

. "$PSScriptRoot/../powershell/Profile.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1";
Start-SoftwareInstaller @args `
-Configurator {
param([string] $Name)
Add-PowerShellProfileStatement `
-System `
-Category "$Name" `
-Script (
@(
"# $Name",
(Get-ScriptInitializer "zoxide init powershell | Out-String")
) -join [System.Environment]::NewLine);
};