From b29a7357c60d4ef84bd04d48cba7d8581578150f Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Sat, 1 Jun 2019 14:19:30 +0200 Subject: [PATCH] projectile: fd never use colors Prevent projectile-find-file to be littered with escape codes when the environment variable LS_COLORS is set. --- core/core-projects.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-projects.el b/core/core-projects.el index ea65621b9..489b97106 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -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.