From fc8fb02b3219d7e18f0cc777539de663445fa77a Mon Sep 17 00:00:00 2001 From: fpi Date: Thu, 19 Mar 2020 13:24:06 +0100 Subject: Allow to pass options to grep command Default grep-command ends with "-e" and expects a pattern and no options --- emacs-init.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs-init.org b/emacs-init.org index 57fc4f3..93e0ebe 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -2683,6 +2683,11 @@ To open and hide a shell quickly I use =shell-pop=. :custom (shell-pop-shell-type (quote ("eshell" "*eshell*" (lambda nil (eshell)))))) #+end_src +** Grep +#+begin_src emacs-lisp +(use-package grep + :custom (grep-command "grep --color -nH --null ")) +#+end_src ** Proced Built-in process monitor. #+BEGIN_SRC emacs-lisp -- cgit v1.2.3