use zoxide instead of autojump

This commit is contained in:
Tony Blyler 2025-04-21 10:02:37 -04:00
parent 5950ad6684
commit 432dd5db4c
No known key found for this signature in database
2 changed files with 5 additions and 7 deletions

View file

@ -1,7 +0,0 @@
if [ -r /usr/share/autojump/autojump.zsh ]; then
source /usr/share/autojump/autojump.zsh
elif [ -r /usr/share/autojump/autojump.sh ]; then
source /usr/share/autojump/autojump.sh
elif [ -r "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh" ]; then
source "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh"
fi

View file

@ -0,0 +1,5 @@
if command -v zoxide &> /dev/null; then
eval "$(zoxide init zsh)"
alias j=z
alias ji=zi
fi