Fix projectile breakage in windows in git projects
Because projectile tries to use `tr`, which doesn't exist on windows.
This commit is contained in:
parent
d0412b7f56
commit
df56ea5c60
1 changed files with 5 additions and 2 deletions
|
@ -126,8 +126,11 @@ c) are not valid projectile projects."
|
||||||
(concat "rg -0 --files --color=never --hidden"
|
(concat "rg -0 --files --color=never --hidden"
|
||||||
(cl-loop for dir in projectile-globally-ignored-directories
|
(cl-loop for dir in projectile-globally-ignored-directories
|
||||||
concat (format " --glob '!%s'" dir)))
|
concat (format " --glob '!%s'" dir)))
|
||||||
;; ensure Windows users get fd's benefits
|
;; ensure Windows users get rg's benefits
|
||||||
projectile-indexing-method 'alien))))
|
projectile-indexing-method 'alien)
|
||||||
|
;; fix breakage on windows in git projects
|
||||||
|
(unless (executable-find "tr")
|
||||||
|
(setq projectile-git-submodule-command nil)))))
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Project-based minor modes
|
;; Project-based minor modes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue