summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-07-11 17:10:20 +0200
committerAlan Pearce2017-07-11 17:10:20 +0200
commit267aab78cbb12589a80afae7ec7cb851e1750895 (patch)
tree1799104bd5b292611dead2a2b56c1cd9dbe1bf73 /emacs
parent1063325b18ed6d7eaa277f720dedde4690461984 (diff)
downloaddotfiles-267aab78cbb12589a80afae7ec7cb851e1750895.tar.lz
dotfiles-267aab78cbb12589a80afae7ec7cb851e1750895.tar.zst
dotfiles-267aab78cbb12589a80afae7ec7cb851e1750895.zip
Emacs: Don't ignore hidden files with ripgrep
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
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