From 267aab78cbb12589a80afae7ec7cb851e1750895 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 11 Jul 2017 17:10:20 +0200 Subject: Emacs: Don't ignore hidden files with ripgrep --- emacs/.emacs.d/init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 304abc4..98fb06f 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1589,7 +1589,8 @@ replacement for helm so far. (when (and buffer-file-name (not (file-writable-p buffer-file-name))) (message "File not writable %s" buffer-file-name) - (find-alternate-file (concat "/sudo::" buffer-file-name)))))) + (find-alternate-file (concat "/sudo::" buffer-file-name)))) + (setq counsel-rg-base-command "rg -i --no-heading --line-number --hidden %s ."))) #+END_SRC -- cgit 1.4.1