Silence errors concerning empty aliae
configurations
This commit is contained in:
parent
06da905646
commit
b3fcc414e0
|
@ -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