config: add JetBrains Toolbox and GitHub CLI completions

- Add JetBrains Toolbox scripts directory to PATH across shells
- Initialize GitHub CLI completions in bash, fish, and PowerShell
- Lazy-load gh completions in Fish to improve startup time
This commit is contained in:
2026-01-03 18:37:37 -06:00
parent 00e0c7188b
commit 942e814f1a
5 changed files with 35 additions and 0 deletions
@@ -85,4 +85,8 @@ function cdp { Set-Location (Get-Clipboard) }
# Initialize completions if available
if (Get-Command chezmoi -ErrorAction SilentlyContinue) {
chezmoi completion powershell | Out-String | Invoke-Expression
}
if (Get-Command gh -ErrorAction SilentlyContinue) {
Invoke-Expression -Command $(gh completion -s powershell | Out-String)
}