feat: Update .zshrc
This commit is contained in:
18
.zshrc
18
.zshrc
@@ -66,13 +66,13 @@ eval "$(oh-my-posh init zsh --config ~/theme.omp.json)"
|
|||||||
eval "$(atuin init zsh --disable-up-arrow)"
|
eval "$(atuin init zsh --disable-up-arrow)"
|
||||||
bindkey '^[[1;5A' atuin-up-search
|
bindkey '^[[1;5A' atuin-up-search
|
||||||
|
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
#export PYENV_ROOT="$HOME/.pyenv"
|
||||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
#[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init - zsh)"
|
#eval "$(pyenv init - zsh)"
|
||||||
|
|
||||||
# Zellij auto-start
|
# Zellij auto-start
|
||||||
ZELLIJ_AUTO_EXIT=true
|
ZELLIJ_AUTO_EXIT=true
|
||||||
ZELLIJ_AUTO_ATTACH=true
|
#ZELLIJ_AUTO_ATTACH=true
|
||||||
eval "$(zellij setup --generate-auto-start zsh)"
|
eval "$(zellij setup --generate-auto-start zsh)"
|
||||||
|
|
||||||
### 🐚 Shell Options
|
### 🐚 Shell Options
|
||||||
@@ -124,3 +124,13 @@ export FPATH
|
|||||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||||
path_prepend "$PNPM_HOME"
|
path_prepend "$PNPM_HOME"
|
||||||
# pnpm end
|
# 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 ==============
|
||||||
|
|||||||
Reference in New Issue
Block a user