From 70afacb60a723cd548cbbbd539f3b1c321489730 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Mon, 22 Aug 2022 21:44:56 -0400 Subject: [PATCH] Fix autojump for MacOS --- chezmoi/dot_zshrc.d/executable_autojump.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chezmoi/dot_zshrc.d/executable_autojump.zsh b/chezmoi/dot_zshrc.d/executable_autojump.zsh index e891d1e..5c052e7 100644 --- a/chezmoi/dot_zshrc.d/executable_autojump.zsh +++ b/chezmoi/dot_zshrc.d/executable_autojump.zsh @@ -1,3 +1,7 @@ if [ -r /usr/share/autojump/autojump.sh ]; then source /usr/share/autojump/autojump.sh fi + +if [ -r "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh" ]; then + source "${HOMEBREW_PREFIX}/share/autojump/autojump.zsh" +fi