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 a4535eaf05
commit c9971d32e0

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")";