Install aliae
completion using profile files
This commit is contained in:
parent
b3c1c20b72
commit
eaf9ed7f8a
3 changed files with 12 additions and 10 deletions
scripts/Common/Config/aliae
|
@ -14,12 +14,3 @@ script:
|
|||
Get-Item $profilePath | ForEach-Object { . $_; };
|
||||
}
|
||||
if: match .Shell "pwsh"
|
||||
- value: |
|
||||
eval "$(aliae completion bash)"
|
||||
if: match .Shell "bash"
|
||||
- value: |
|
||||
aliae completion fish | source
|
||||
if: match .Shell "fish"
|
||||
- value: |
|
||||
aliae completion powershell | Invoke-Expression
|
||||
if: match .Shell "pwsh"
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
. "$PSScriptRoot/../powershell/lib.ps1";
|
||||
|
||||
Add-PowerShellProfileStatement -Statement "# aliae`naliae init pwsh | Invoke-Expression";
|
||||
Add-PowerShellProfileStatement -Statement "# aliae`n$(Get-ScriptInitializer "aliae completion powershell")";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue