Omit .git from projectile-find-file & ocunsel-file-jump

This commit is contained in:
Henrik Lissner 2020-11-16 20:10:26 -05:00
parent 51744ce294
commit db66b8af31
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 5 deletions

View file

@ -180,7 +180,7 @@ And if it's a function, evaluate it."
(if IS-WINDOWS " --path-separator=/"))))
;; Otherwise, resort to ripgrep, which is also faster than find
((executable-find "rg" t)
(concat "rg -0 --files --follow --color=never --hidden"
(concat "rg -0 --files --follow --color=never --hidden -g!.git"
(if IS-WINDOWS " --path-separator /")))
("find . -type f -print0"))))