Skip to content

Commit

Permalink
Properly filter by file type when using fd
Browse files Browse the repository at this point in the history
Fixes #1424
  • Loading branch information
jrahmy authored and bbatsov committed Jun 4, 2019
1 parent 65ba429 commit fd85829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ Set to nil to disable listing submodules contents."

(defcustom projectile-generic-command
(if (executable-find "fd")
"fd . -0 --color=never"
"fd . -0 --type f --color=never"
"find . -type f -print0")
"Command used by projectile to get the files in a generic project."
:group 'projectile
Expand Down

0 comments on commit fd85829

Please sign in to comment.