From b636fd9d178bee78f7a3115d5085511706eca26b Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Fri, 3 Feb 2017 07:09:56 +0100 Subject: Fix AG pipe command line for RG. * helm-grep.el (helm-grep-ag-prepare-cmd-line): Do it. --- helm-grep.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helm-grep.el') 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 " ") -- cgit v1.2.3