From 81e8fafa18dd32a6f3a1b1b5155da3bd9360f0b5 Mon Sep 17 00:00:00 2001 From: Aria Edmonds Date: Fri, 18 Jan 2019 19:40:09 +1100 Subject: [PATCH] Improve projectile-git-command When indexing it ignores hidden files, which is especially annoying for dotfiles where everything starts with a dot. If you just have -H it'll index .git too though, so we exclude that --- 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 d8b426867..3e2059379 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -59,7 +59,7 @@ ;; fd is a rust program that is significantly faster. It also respects ;; .gitignore. This is recommended in the projectile docs (when (executable-find "fd") - (setq projectile-git-command "fd . --type f -0" + (setq projectile-git-command "fd . --type f -0 -H -E .git" projectile-generic-command projectile-git-command)))