projectile: fd never use colors

Prevent projectile-find-file to be littered with escape codes when the
environment variable LS_COLORS is set.
This commit is contained in:
Brice Waegeneire 2019-06-01 14:19:30 +02:00
parent 32e266cfb4
commit b29a7357c6

View file

@ -104,7 +104,7 @@ c) are not valid projectile projects."
((executable-find doom-projectile-fd-binary)
(setq projectile-git-command (concat
doom-projectile-fd-binary
" . --type f -0 -H -E .git")
" . --color=never --type f -0 -H -E .git")
projectile-generic-command projectile-git-command))
;; Otherwise, resort to ripgrep, which is also faster than find.