use zoxide instead of autojump
This commit is contained in:
parent
5950ad6684
commit
432dd5db4c
2 changed files with 5 additions and 7 deletions
chezmoi/dot_zshrc.d
|
@ -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
|
5
chezmoi/dot_zshrc.d/executable_zoxide.zsh
Normal file
5
chezmoi/dot_zshrc.d/executable_zoxide.zsh
Normal file
|
@ -0,0 +1,5 @@
|
|||
if command -v zoxide &> /dev/null; then
|
||||
eval "$(zoxide init zsh)"
|
||||
alias j=z
|
||||
alias ji=zi
|
||||
fi
|
Loading…
Reference in a new issue