refactor(zsh): Move bun completion to include/completion

This commit is contained in:
Ahmad Ansori Palembani 2024-07-20 11:47:59 +07:00
parent 59611f7e58
commit 6f569742b5
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 3 additions and 9 deletions

View file

@ -11,13 +11,8 @@
setopt auto_cd # auto cd if directory
__CONFIG_DIR=${XDG_CONFIG_HOME:-$HOME/.config}
# highlight on tab (completion)
# Completion
[ -f $__CONFIG_DIR/zsh/include/completion ] && source $__CONFIG_DIR/zsh/include/completion
# zstyle ':completion:*:*:git:*' script /usr/local/etc/bash_completion.d/git-completion.bash
# fpath=(/usr/local/share/zsh-completions $fpath)
# autoload -U compinit && compinit -u
# zmodload -i zsh/complist
# zstyle ':completion:*' menu select
# Alias
[ -f $__CONFIG_DIR/zsh/include/aliases ] && source $__CONFIG_DIR/zsh/include/aliases
@ -76,9 +71,6 @@ install_plugin https://github.com/zsh-users/zsh-autosuggestions
# ]] Plugins
# bun completions
[ -s "/home/ziro/.bun/_bun" ] && source "/home/ziro/.bun/_bun"
pyenv --version >/dev/null 2>/dev/null && {
eval "$(pyenv init -)";
eval "$(pyenv virtualenv-init -)";