fix: strip './' from projectile file list produced by fd
Fix: #6504 Ref: bbatsov/projectile#1784
This commit is contained in:
parent
acd7db1410
commit
b636d9e793
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,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 --exclude .git"
|
||||
(concat (format "%s . -0 -H --color=never --type file --type symlink --follow --exclude .git --strip-cwd-prefix"
|
||||
bin)
|
||||
(if IS-WINDOWS " --path-separator=/"))))
|
||||
;; Otherwise, resort to ripgrep, which is also faster than find
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue