dofiles-win/Documents/PowerShell/completions.ps1
2024-02-05 00:24:50 -04:00

10 lines
445 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)
# gsudo
Import-Module gsudoModule