branch: master
commit a3b9a96dacffd862ba4ae6c3f08208c19b090293
Author: cydparser <[email protected]>
Commit: Oleh Krehel <[email protected]>
Never use color results with counsel-rg
Running the command on macOS with version 0.5.2 of ripgrep (installed from
nixpkgs) resulted in visible ANSI color codes.
Fixes #1060
---
counsel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index 2c098c6..a46871c 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1903,7 +1903,7 @@ This uses `counsel-ag' with `counsel-pt-base-command'
replacing
(counsel-ag initial-input)))
;;** `counsel-rg'
-(defcustom counsel-rg-base-command "rg -i --no-heading --line-number
--max-columns 150 %s ."
+(defcustom counsel-rg-base-command "rg -i --no-heading --line-number
--max-columns 150 --color never %s ."
"Used to in place of `counsel-rg-base-command' to search with
ripgrep using `counsel-rg'."
:type 'string