summaryrefslogtreecommitdiff
path: root/helm-grep.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-03 07:09:56 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-03 07:09:56 +0100
commitb636fd9d178bee78f7a3115d5085511706eca26b (patch)
tree057eed2ad9d5b97a79fad36c51ee5a59c354d6ce /helm-grep.el
parentc6a51c4761c4bdc30df15abf9d4184ffdaf3cfeb (diff)
Fix AG pipe command line for RG.
* helm-grep.el (helm-grep-ag-prepare-cmd-line): Do it.
Diffstat (limited to 'helm-grep.el')
-rw-r--r--helm-grep.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-grep.el b/helm-grep.el
index b30ba48d..90d11bba 100644
--- a/helm-grep.el
+++ b/helm-grep.el
@@ -1370,7 +1370,7 @@ if available with current AG version."
(pipe-cmd (pcase (helm-grep--ag-command)
((and com (or "ag" "pt"))
(format "%s -S --color%s" com (concat " " pipe-switches)))
- (`"rg" (format "TERM=eterm-color rg -S --color=always%s"
+ (`"rg" (format "TERM=eterm-color rg -N -S --color=always%s"
(concat " " pipe-switches)))))
(cmd (format helm-grep-ag-command
(mapconcat 'identity type " ")