branch: elpa/helm
commit cd4add6fae1d9acf8904d93f2f32e37c0737b03d
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fix pattern starting with a dash in rg/ag #2475
---
helm-grep.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-grep.el b/helm-grep.el
index 71acee9ea6..2aceda4338 100644
--- a/helm-grep.el
+++ b/helm-grep.el
@@ -1545,7 +1545,7 @@ returns if available with current AG version."
(shell-quote-argument directory))))
(helm-aif (cdr patterns)
(concat cmd (cl-loop for p in it concat
- (format " | %s %s"
+ (format " | %s -- %s"
pipe-cmd (shell-quote-argument p))))
cmd)))