mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 06:24:13 -06:00
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:
@@ -72,6 +72,9 @@ test -d $HOME/.spicetify && set -a paths_to_add $HOME/.spicetify
|
||||
# opencode
|
||||
test -d $HOME/.opencode/bin && set -a paths_to_add $HOME/.opencode/bin
|
||||
|
||||
# JetBrains Toolbox (IDE launcher and updater)
|
||||
test -d $HOME/.local/share/JetBrains/Toolbox/scripts && set -a paths_to_add $HOME/.local/share/JetBrains/Toolbox/scripts
|
||||
|
||||
# pulumi
|
||||
test -d $HOME/.pulumi/bin && set -a paths_to_add $HOME/.pulumi/bin
|
||||
|
||||
|
||||
@@ -66,6 +66,9 @@ esac
|
||||
# Spicetify (Spotify customization CLI)
|
||||
[ -d "$HOME/.spicetify" ] && export PATH="$PATH:$HOME/.spicetify"
|
||||
|
||||
# JetBrains Toolbox (IDE launcher and updater)
|
||||
[ -d "$HOME/.local/share/JetBrains/Toolbox/scripts" ] && export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts"
|
||||
|
||||
# Pulumi (Infrastructure as Code)
|
||||
[ -d "$HOME/.pulumi/bin" ] && export PATH="$PATH:$HOME/.pulumi/bin"
|
||||
|
||||
@@ -136,6 +139,9 @@ fi
|
||||
# chatgpt CLI completions
|
||||
command -v chatgpt &> /dev/null && . <(chatgpt --set-completions {{ .shell }})
|
||||
|
||||
# GitHub CLI completions
|
||||
command -v gh &> /dev/null && eval "$(gh completion -s bash)"
|
||||
|
||||
[ -f "$HOME/.bash_aliases" ] && . "$HOME/.bash_aliases"
|
||||
|
||||
# SSH editor override (always use micro when connected via SSH)
|
||||
|
||||
Reference in New Issue
Block a user