diff --git a/.zshrc b/.zshrc index 02c7150..13b2c86 100644 --- a/.zshrc +++ b/.zshrc @@ -81,6 +81,12 @@ export NVM_AUTO_USE=true # 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) 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 # User configuration