From 4d5bfe4c69360353cf7ed9d99b672cb840e9bbcf Mon Sep 17 00:00:00 2001 From: Julian Horsch Date: Mon, 6 Sep 2021 11:30:28 +0200 Subject: [PATCH] feat(autojump): add new Homebrew default path on M1 Macs (#9637) On M1-Macs homebrew uses /opt/homebrew as default location for ARM packages. This results in the autojump plugin not being able to find autojump after a clean default installation. This commit adds the new default location to the autojump plugin. --- plugins/autojump/autojump.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh index f40b0e931..3117c6da4 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/plugins/autojump/autojump.plugin.zsh @@ -10,6 +10,7 @@ autojump_paths=( /usr/local/share/autojump/autojump.zsh # FreeBSD installation /opt/local/etc/profile.d/autojump.sh # macOS with MacPorts /usr/local/etc/profile.d/autojump.sh # macOS with Homebrew (default) + /opt/homebrew/etc/profile.d/autojump.sh # macOS with Homebrew (default on M1 macs) ) for file in $autojump_paths; do