29 lines
761 B
PowerShell
29 lines
761 B
PowerShell
|
param(
|
||
|
$Action,
|
||
|
[hashtable] $Arguments
|
||
|
)
|
||
|
|
||
|
. "$PSScriptRoot/../PowerShell/Profile.ps1";
|
||
|
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
||
|
|
||
|
Start-SoftwareInstaller @PSBoundParameters `
|
||
|
-Installer {
|
||
|
param(
|
||
|
[scriptblock] $Installer
|
||
|
)
|
||
|
|
||
|
Install-ChocoPackage zoxide;
|
||
|
Install-WingetPackage junegunn.fzf;
|
||
|
& $Installer -Action ([InstallerAction]::Configure);
|
||
|
} `
|
||
|
-Configurator {
|
||
|
Add-PowerShellProfileStatement `
|
||
|
-System `
|
||
|
-Category "zoxide" `
|
||
|
-Script (
|
||
|
@(
|
||
|
"# zoxide",
|
||
|
(Get-ScriptInitializer "zoxide init powershell | Out-String")
|
||
|
) -join [System.Environment]::NewLine);
|
||
|
};
|