mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #3425: eagerly resolve path to fd executable
This ensures that the correct binary is found, even if you're remoting onto a system where `fd` is named `fdfind`.
This commit is contained in:
@ -154,7 +154,9 @@ And if it's a function, evaluate it."
|
|||||||
;; this way so that future changes to
|
;; this way so that future changes to
|
||||||
;; `projectile-globally-ignored-directories' are respected.
|
;; `projectile-globally-ignored-directories' are respected.
|
||||||
(lambda (_)
|
(lambda (_)
|
||||||
(concat (format "%s . -0 -H -E .git --color=never --type file --type symlink --follow"
|
(concat (format "%s . -0 -H -E .git --color=never --type file --type symlink --follow"
|
||||||
|
(or (cl-find-if (doom-rpartial #'executable-find t)
|
||||||
|
'("fdfind" "fd"))
|
||||||
"fd"))
|
"fd"))
|
||||||
(cl-loop for dir in projectile-globally-ignored-directories
|
(cl-loop for dir in projectile-globally-ignored-directories
|
||||||
concat " -E "
|
concat " -E "
|
||||||
|
Reference in New Issue
Block a user