diff --git a/core/core-projects.el b/core/core-projects.el index 01654e0d6..f37babe59 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -142,7 +142,10 @@ c) are not valid projectile projects." projectile-indexing-method 'alien) ;; fix breakage on windows in git projects (unless (executable-find "tr") - (setq projectile-git-submodule-command nil)))) + (setq projectile-git-submodule-command nil))) + + ((not (executable-find "tr")) + (setq projectile-git-submodule-command nil))) (defadvice! doom--projectile-cache-timers-a () "Persist `projectile-projects-cache-time' across sessions, so that