Merge pull request #4448 from hoyon/patch-1
Add `--exclude .git` to fd in `projectile-generic-command`
This commit is contained in:
commit
b90e001ca0
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ And if it's a function, evaluate it."
|
||||||
(cl-find-if (doom-rpartial #'executable-find t)
|
(cl-find-if (doom-rpartial #'executable-find t)
|
||||||
(list "fdfind" "fd"))
|
(list "fdfind" "fd"))
|
||||||
doom-projectile-fd-binary))
|
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)
|
bin)
|
||||||
(if IS-WINDOWS " --path-separator=/"))))
|
(if IS-WINDOWS " --path-separator=/"))))
|
||||||
;; Otherwise, resort to ripgrep, which is also faster than find
|
;; Otherwise, resort to ripgrep, which is also faster than find
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue