Silence errors concerning empty aliae
configurations
This commit is contained in:
parent
080812b90a
commit
208f48debe
1 changed files with 2 additions and 2 deletions
|
@ -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