From 8089b5b72380da76652a69631e282f0c273121ab Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 5 Jun 2020 00:47:35 -0400 Subject: [PATCH] Make change to counsel-rg-base-command idempotent So doom/reload doesn't clobber it. --- modules/completion/ivy/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index 4b4a7562c..5c41f7629 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -211,8 +211,8 @@ evil-ex-specific constructs, so we disable it solely in evil-ex." ;; absolute path. Remove this when it is fixed upstream in counsel. (when (memq system-type '(windows-nt ms-dos)) (setq counsel-rg-base-command - (replace-regexp-in-string "--path-separator /" - "--path-separator //" + (replace-regexp-in-string "--path-separator / " + "--path-separator // " counsel-rg-base-command))) ;; Integrate with `helpful'