cswimr/home
Archived
Template
1
0
Fork 0

added bun autocompletion

Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
This commit is contained in:
Seaswimmer 2024-10-07 16:45:41 -04:00
parent ca3ee7fd64
commit 62e406e707
Signed by: cswimr
GPG key ID: A9C162E867C851FA

6
.zshrc
View file

@ -81,6 +81,12 @@ export NVM_AUTO_USE=true
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(git colored-man-pages colorize command-not-found cp pyenv pip python virtualenv virtualenvwrapper poetry-env systemd archlinux appup zsh-nvm zsh-better-npm-completion fast-syntax-highlighting) plugins=(git colored-man-pages colorize command-not-found cp pyenv pip python virtualenv virtualenvwrapper poetry-env systemd archlinux appup zsh-nvm zsh-better-npm-completion fast-syntax-highlighting)
fpath+="${ZSH_CUSTOM:-"$ZSH/custom"}/plugins/zsh-completions/src" fpath+="${ZSH_CUSTOM:-"$ZSH/custom"}/plugins/zsh-completions/src"
if (( $+commands[bun] )); then
[ -s ~/.bun/_bun ] || bun completions
# cannot source directly, must add fpath to completions
fpath+=~/.bun/
fi
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# User configuration # User configuration