diff options
author | Alan Pearce | 2018-05-21 12:28:49 +0200 |
---|---|---|
committer | Alan Pearce | 2018-05-21 12:28:49 +0200 |
commit | 5c3e9460065fdf9a08e64b92823fe1bab05b4005 (patch) | |
tree | 1119c19ec85c26dfdb79d97d839b0501e0d43517 | |
parent | 9c4f9e89943bcf3eedb100b230db56e6274c3a51 (diff) | |
download | nixfiles-5c3e9460065fdf9a08e64b92823fe1bab05b4005.tar.lz nixfiles-5c3e9460065fdf9a08e64b92823fe1bab05b4005.tar.zst nixfiles-5c3e9460065fdf9a08e64b92823fe1bab05b4005.zip |
Emacs: Make ag also search hidden files
-rw-r--r-- | emacs/.emacs.d/main.el | 4 |
1 files changed, 3 insertions, 1 deletions
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) |