[Emacs] Search hidden files when doing directory based consult-rg search

This commit is contained in:
Ivan Malison 2024-08-10 12:40:01 -06:00
parent 4fd99eae63
commit 51e6116100

View File

@ -1790,7 +1790,8 @@ bind-key and global-set-key forms.
(defun imalison:do-rg-default-directory (&rest args)
(interactive)
(apply 'consult-ripgrep default-directory args))
(let ((consult-ripgrep-args (concat consult-ripgrep-args " --no-ignore" " --hidden")))
(apply 'consult-ripgrep default-directory args)))
(emit-prefix-selector imalison:do-rg
consult-ripgrep