8581ecd462ab2714936398c54433ed1deddb2926
- Author
- Antoine <rouadec@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
feat(autojump): add `nix-darwin` install path (#12389)
Diff
1diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh
2index 5a52e306799ed84063aea1af78ca1033d1f4d8fd..e385a2de80b5fae939c3bf6a9768294dbe6dfb02 100644
3--- a/plugins/autojump/autojump.plugin.zsh
4+++ b/plugins/autojump/autojump.plugin.zsh
5@@ -15,6 +15,7 @@ autojump_paths=(
6 /opt/homebrew/etc/profile.d/autojump.sh # macOS with Homebrew (default on M1 macs)
7 /opt/pkg/share/autojump/autojump.zsh # macOS with pkgsrc
8 /etc/profiles/per-user/$USER/etc/profile.d/autojump.sh # macOS Nix, Home Manager and flakes
9+ /nix/var/nix/gcroots/current-system/sw/share/zsh/site-functions/autojump.zsh # macOS Nix, nix-darwin
10 )
11
12 for file in $autojump_paths; do