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:
parent
196c716c74
commit
2a6b1a1fb6
1 changed files with 4 additions and 1 deletions
|
@ -142,7 +142,10 @@ c) are not valid projectile projects."
|
||||||
projectile-indexing-method 'alien)
|
projectile-indexing-method 'alien)
|
||||||
;; fix breakage on windows in git projects
|
;; fix breakage on windows in git projects
|
||||||
(unless (executable-find "tr")
|
(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 ()
|
(defadvice! doom--projectile-cache-timers-a ()
|
||||||
"Persist `projectile-projects-cache-time' across sessions, so that
|
"Persist `projectile-projects-cache-time' across sessions, so that
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue