Emacs: Don't ignore hidden files with ripgrep
Alan Pearce alan@alanpearce.eu
Tue, 11 Jul 2017 17:10:20 +0200
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -1589,7 +1589,8 @@ "Find file as root if necessary." (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