mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-23 14:03:44 -05:00
Add --exclude .git
to fd in projectile-generic-command
This commit is contained in:
@@ -179,7 +179,7 @@ And if it's a function, evaluate it."
|
||||
(cl-find-if (doom-rpartial #'executable-find t)
|
||||
(list "fdfind" "fd"))
|
||||
doom-projectile-fd-binary))
|
||||
(concat (format "%s . -0 -H --color=never --type file --type symlink --follow"
|
||||
(concat (format "%s . -0 -H --color=never --type file --type symlink --follow --exclude .git"
|
||||
bin)
|
||||
(if IS-WINDOWS " --path-separator=/"))))
|
||||
;; Otherwise, resort to ripgrep, which is also faster than find
|
||||
|
Reference in New Issue
Block a user