branch: master
commit 1d8803ed385f8911020e7fead08068e2912248d4
Author: ItsHoff <[email protected]>
Commit: ItsHoff <[email protected]>
Ensure that ripgrep on windows uses '/' as the path-separator
---
counsel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index a6fe736..59d411a 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2935,7 +2935,7 @@ 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 --with-filename --no-heading --line-number --color never %s ."
+ "rg --with-filename --no-heading --line-number --path-separator /
--color never %s ."
"rg --with-filename --no-heading --line-number --color never %s")
"Alternative to `counsel-ag-base-command' using ripgrep.