summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJulian Horsch <julian.horsch@gmail.com>2021-09-06 11:30:28 +0200
committerGitHub <noreply@github.com>2021-09-06 11:30:28 +0200
commit4d5bfe4c69360353cf7ed9d99b672cb840e9bbcf (patch)
treea0bd0796442fe8cae7c42a8228ba5faa5d11e0dc /plugins
parenta15ac80bba400cffd6a2e2e32be9c39cd7d13411 (diff)
downloadzsh-4d5bfe4c69360353cf7ed9d99b672cb840e9bbcf.tar.gz
zsh-4d5bfe4c69360353cf7ed9d99b672cb840e9bbcf.tar.bz2
zsh-4d5bfe4c69360353cf7ed9d99b672cb840e9bbcf.zip
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/autojump/autojump.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
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