feat: Update .zshrc

This commit is contained in:
2026-03-23 20:20:44 +11:00
parent daf3952b7b
commit 918b6c5f42

18
.zshrc
View File

@@ -66,13 +66,13 @@ eval "$(oh-my-posh init zsh --config ~/theme.omp.json)"
eval "$(atuin init zsh --disable-up-arrow)"
bindkey '^[[1;5A' atuin-up-search
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - zsh)"
#export PYENV_ROOT="$HOME/.pyenv"
#[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
#eval "$(pyenv init - zsh)"
# Zellij auto-start
ZELLIJ_AUTO_EXIT=true
ZELLIJ_AUTO_ATTACH=true
#ZELLIJ_AUTO_ATTACH=true
eval "$(zellij setup --generate-auto-start zsh)"
### 🐚 Shell Options
@@ -124,3 +124,13 @@ export FPATH
export PNPM_HOME="$HOME/.local/share/pnpm"
path_prepend "$PNPM_HOME"
# pnpm end
# ============ BEGIN coder COMPLETION ============
_coder_completions() {
local -a args completions
args=("${words[@]:1:$#words}")
completions=(${(f)"$(COMPLETION_MODE=1 "coder" "${args[@]}")"})
compadd -a completions
}
compdef _coder_completions coder
# ============ END coder COMPLETION ==============