2024-10-13 13:35:24 +00:00
|
|
|
. "$PSScriptRoot/../powershell/Profile.ps1";
|
2024-11-01 12:12:16 +00:00
|
|
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
2024-09-19 20:24:36 +00:00
|
|
|
|
2024-09-30 03:00:20 +00:00
|
|
|
Start-SoftwareInstaller @args `
|
2024-09-19 20:24:36 +00:00
|
|
|
-Configurator {
|
2024-09-23 00:10:42 +00:00
|
|
|
param([string] $Name)
|
|
|
|
|
2024-09-19 20:24:36 +00:00
|
|
|
Add-PowerShellProfileStatement `
|
|
|
|
-System `
|
2024-09-23 00:10:42 +00:00
|
|
|
-Category "$Name" `
|
2024-09-19 20:24:36 +00:00
|
|
|
-Script (
|
|
|
|
@(
|
2024-09-23 00:10:42 +00:00
|
|
|
"# $Name",
|
2024-09-19 20:24:36 +00:00
|
|
|
(Get-ScriptInitializer "zoxide init powershell | Out-String")
|
|
|
|
) -join [System.Environment]::NewLine);
|
|
|
|
};
|