From 3230fb70079fb474e41e9d4257f5331093ba4807 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Wed, 17 Sep 2025 10:20:00 -0400 Subject: [PATCH] feat: Adds zoxide to shell --- zsh/config/.zshenv | 3 +++ zsh/config/.zshrc | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/zsh/config/.zshenv b/zsh/config/.zshenv index 344efdc..faad972 100755 --- a/zsh/config/.zshenv +++ b/zsh/config/.zshenv @@ -102,4 +102,7 @@ export GPG_TTY=$(tty) # Starship Prompt export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship/starship.toml" +# Zoxide +export _ZO_DATA_DIR="$XDG_DATA_HOME" + [ -f "$LOCAL_ENV" ] && source "$LOCAL_ENV" diff --git a/zsh/config/.zshrc b/zsh/config/.zshrc index e77856e..db49d7b 100755 --- a/zsh/config/.zshrc +++ b/zsh/config/.zshrc @@ -252,4 +252,5 @@ function 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)"