Fix the setting of `grep-command' in case of "ugrep" usage

This commit is contained in:
Gerard Vermeulen 2023-05-19 10:58:15 +02:00
parent 74e69300a8
commit 787cb5f646

View File

@ -1648,8 +1648,9 @@ implementation of the suggestions on those pages.
"--null" "--null"
"--recursive" "--recursive"
"--regexp=<R>") "--regexp=<R>")
" ")) " ")
(setopt grep-command "ugrep --color=always --null -nH -e ")) grep-command "ugrep --color=always --null -nH -e "
grep-use-null-device nil))
(with-eval-after-load 'xref (with-eval-after-load 'xref
(setopt (setopt
xref-search-program 'ugrep xref-search-program 'ugrep