2024-08-08 02:36:35 +00:00
|
|
|
param(
|
|
|
|
$Action,
|
|
|
|
[hashtable] $Arguments
|
|
|
|
)
|
|
|
|
|
|
|
|
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
2024-08-08 03:01:45 +00:00
|
|
|
. "$PSScriptRoot/../../../Common/Software/PowerShell/Profile.ps1";
|
2024-08-08 02:36:35 +00:00
|
|
|
|
|
|
|
Start-SoftwareInstaller @PSBoundParameters `
|
|
|
|
-Installer {
|
|
|
|
Install-ChocoPackage zoxide;
|
|
|
|
Install-WingetPackage junegunn.fzf;
|
|
|
|
} `
|
|
|
|
-Configurator {
|
|
|
|
Add-PowerShellProfileStatement `
|
|
|
|
-System `
|
|
|
|
-Category "zoxide" `
|
|
|
|
-Script (
|
|
|
|
@(
|
|
|
|
"# zoxide",
|
|
|
|
(Get-ScriptInitializer "zoxide init powershell | Out-String")
|
|
|
|
) -join [System.Environment]::NewLine);
|
|
|
|
};
|