branch: master
commit ca5040d441e67fbc2a2a641f843094f7b2c0e318
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
counsel.el (counsel-rg-base-command): Remove "-S" flag
Ivy will add "-i" appropriately, based on `ivy-case-fold-search-default'.
Fixes #2204
---
counsel.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/counsel.el b/counsel.el
index 6314d51..038bb8b 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2899,8 +2899,8 @@ This uses `counsel-ag' with `counsel-ack-base-command'
replacing
;;** `counsel-rg'
(defcustom counsel-rg-base-command
(if (memq system-type '(ms-dos windows-nt))
- "rg -S --no-heading --line-number --color never %s ."
- "rg -S --no-heading --line-number --color never %s")
+ "rg --no-heading --line-number --color never %s ."
+ "rg --no-heading --line-number --color never %s")
"Alternative to `counsel-ag-base-command' using ripgrep.
Note: don't use single quotes for the regex."