fix(autojump): detect 'pkgsrc' installation location as well

The added path is currently default for Apple Silicon installations with 'pkgsrc' - https://pkgsrc.smartos.org/
This commit is contained in:
Dee'Kej 2024-04-06 18:14:30 +02:00 committed by GitHub
commit ad06d3af97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,7 @@ autojump_paths=(
/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)
/opt/pkg/share/autojump/autojump.zsh # macOS with pkgsrc
/etc/profiles/per-user/$USER/etc/profile.d/autojump.sh # macOS Nix, Home Manager and flakes
)