浏览代码

feat(autojump): add `nix-darwin` install path (#12389)

Antoine 2 周之前
父节点
当前提交
8581ecd462
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/autojump/autojump.plugin.zsh

+ 1 - 0
plugins/autojump/autojump.plugin.zsh

@@ -15,6 +15,7 @@ autojump_paths=(
   /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
+  /nix/var/nix/gcroots/current-system/sw/share/zsh/site-functions/autojump.zsh  # macOS Nix, nix-darwin
 )
 
 for file in $autojump_paths; do