From a904b718f888bb94207035c6599688a05c72507e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 24 Oct 2020 16:51:56 -0400 Subject: [PATCH] Default to showing dotfiles in ripgrep searches --- modules/completion/helm/autoload/helm.el | 3 ++- modules/completion/ivy/autoload/ivy.el | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/completion/helm/autoload/helm.el b/modules/completion/helm/autoload/helm.el index c453eabad..c8bb41c2f 100644 --- a/modules/completion/helm/autoload/helm.el +++ b/modules/completion/helm/autoload/helm.el @@ -56,7 +56,8 @@ workspace." (helm-rg-default-directory (or in (doom-project-root) default-directory)) (helm-rg-default-extra-args (delq nil (append (list (when all-files "-z -uu") - (unless recursive "--maxdepth 1")) + (unless recursive "--maxdepth 1") + "--hidden") args)))) (setq deactivate-mark t) (helm-rg (or query diff --git a/modules/completion/ivy/autoload/ivy.el b/modules/completion/ivy/autoload/ivy.el index 6a18bc763..70d9f3e7c 100644 --- a/modules/completion/ivy/autoload/ivy.el +++ b/modules/completion/ivy/autoload/ivy.el @@ -272,6 +272,7 @@ The point of this is to avoid Emacs locking up indexing massive file trees." (directory (or in project-root)) (args (concat (if all-files " -uu") (unless recursive " --maxdepth 1") + " --hidden" " " (mapconcat #'shell-quote-argument args " ")))) (setq deactivate-mark t) (counsel-rg