Install aliae for the default and the current user

This commit is contained in:
Manuel Thalmann 2024-03-21 00:13:07 +01:00
parent cd0401b2e1
commit adb4f36394

View file

@ -1,5 +1,8 @@
#!/bin/pwsh
. "$PSScriptRoot/../powershell/lib.ps1";
Add-PowerShellProfileStatement -Statement "# aliae`naliae init pwsh | Invoke-Expression";
foreach ($defaultUser in @($true, $false)) {
Add-PowerShellProfileStatement -DefaultUser:$defaultUser -Statement "# aliae`naliae init pwsh | Invoke-Expression";
}
Add-PowerShellProfileStatement -Statement "# aliae`n$(Get-ScriptInitializer "aliae completion powershell")";