feat: Adds zoxide to shell

This commit is contained in:
2025-09-17 10:20:00 -04:00
parent 6f11d99043
commit 3230fb7007
2 changed files with 5 additions and 1 deletions

View File

@@ -102,4 +102,7 @@ export GPG_TTY=$(tty)
# Starship Prompt # Starship Prompt
export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship/starship.toml" export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship/starship.toml"
# Zoxide
export _ZO_DATA_DIR="$XDG_DATA_HOME"
[ -f "$LOCAL_ENV" ] && source "$LOCAL_ENV" [ -f "$LOCAL_ENV" ] && source "$LOCAL_ENV"

View File

@@ -252,4 +252,5 @@ function use-gpg-agent-for-ssh {
} }
use-gpg-agent-for-ssh use-gpg-agent-for-ssh
eval "$(direnv hook zsh)" command -v direnv >/dev/null 2>&1 && eval "$(direnv hook zsh)"
command -v zoxide >/dev/null 2>&1 && eval "$(zoxide init --cmd cd zsh)"