mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 08:50:08 +00:00
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.
This commit is contained in:
parent
a15ac80bba
commit
4d5bfe4c69
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ autojump_paths=(
|
||||||
/usr/local/share/autojump/autojump.zsh # FreeBSD installation
|
/usr/local/share/autojump/autojump.zsh # FreeBSD installation
|
||||||
/opt/local/etc/profile.d/autojump.sh # macOS with MacPorts
|
/opt/local/etc/profile.d/autojump.sh # macOS with MacPorts
|
||||||
/usr/local/etc/profile.d/autojump.sh # macOS with Homebrew (default)
|
/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
|
for file in $autojump_paths; do
|
||||||
|
|
Loading…
Reference in a new issue