dofiles-win/Documents/PowerShell/completions.ps1
2024-02-03 16:17:24 -04:00

8 lines
409 B
PowerShell

# Scoop search
Invoke-Expression (&scoop-search --hook)
# Scoop completion
Import-Module "$($(Get-Item $(Get-Command scoop.ps1).Path).Directory.Parent.FullName)\modules\scoop-completion"
# Chezmoi
if (Get-Command chezmoi -ErrorAction SilentlyContinue) { chezmoi completion powershell | Out-String | Invoke-Expression }
# Github CLI
Invoke-Expression -Command $(gh completion -s powershell | Out-String)