diff --git a/chezmoi/dot_zshrc.d/executable_autojump.zsh b/chezmoi/dot_zshrc.d/executable_autojump.zsh index 5c052e7..af2663d 100644 --- a/chezmoi/dot_zshrc.d/executable_autojump.zsh +++ b/chezmoi/dot_zshrc.d/executable_autojump.zsh @@ -1,7 +1,7 @@ -if [ -r /usr/share/autojump/autojump.sh ]; then +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 -fi - -if [ -r "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh" ]; then +elif [ -r "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh" ]; then source "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh" fi