Silence errors concerning empty aliae
configurations
This commit is contained in:
parent
cface6cd89
commit
bc96ca58f6
|
@ -34,11 +34,11 @@ Start-SoftwareInstaller @PSBoundParameters `
|
||||||
};
|
};
|
||||||
|
|
||||||
if (Test-Path $globalPath) {
|
if (Test-Path $globalPath) {
|
||||||
& ([scriptblock]::Create((aliae init pwsh --config $globalPath)));
|
$null = & ([scriptblock]::Create((aliae init pwsh --config $globalPath))) *>&1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Test-Path $userPath) {
|
if (Test-Path $userPath) {
|
||||||
& ([scriptblock]::Create((aliae init pwsh)));
|
$null = & ([scriptblock]::Create((aliae init pwsh))) *>&1;
|
||||||
}
|
}
|
||||||
|
|
||||||
aliae completion powershell | Out-String | Invoke-Expression;
|
aliae completion powershell | Out-String | Invoke-Expression;
|
||||||
|
|
Loading…
Reference in a new issue