From 5c3e9460065fdf9a08e64b92823fe1bab05b4005 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 21 May 2018 12:28:49 +0200 Subject: Emacs: Make ag also search hidden files --- emacs/.emacs.d/main.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index fae2b959..f2646fc1 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -447,7 +447,9 @@ (use-package ag :defer 30 - :config (setq ag-project-root-function #'projectile-project-root)) + :config (progn + (setq ag-project-root-function #'projectile-project-root) + (add-to-list 'ag-arguments "--hidden"))) (use-package wgrep-ag :after ag) -- cgit 1.4.1