From 39ae69891aa5666a3e0f36d11e02b32a1f15ee15 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Tue, 29 Oct 2024 09:04:48 -0400 Subject: [PATCH] fix autojump sourcing on arch --- chezmoi/dot_zshrc.d/executable_autojump.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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