mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Unset projectile-git-submodule-command if tr is unavailable
Otherwise windows users can't use projectile in projects with submodules.
This commit is contained in:
@ -142,7 +142,10 @@ c) are not valid projectile projects."
|
||||
;; ensure Windows users get rg's benefits
|
||||
projectile-indexing-method 'alien)
|
||||
;; fix breakage on windows in git projects
|
||||
(unless (executable-find "tr")
|
||||
(unless (executable-find "tr")
|
||||
(setq projectile-git-submodule-command nil)))
|
||||
|
||||
((not (executable-find "tr"))
|
||||
(setq projectile-git-submodule-command nil)))
|
||||
|
||||
(defadvice! doom--projectile-cache-timers-a ()
|
||||
|
Reference in New Issue
Block a user