From 39deb6aedb5364af3ce5f5cf90e9110c6b93c7c4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 8 Jan 2021 17:13:46 -0500 Subject: [PATCH] Resolve remote path to fd/rg for counsel-find-file --- 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 261acf953..364a8bb2d 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -291,10 +291,10 @@ results buffer.") "Change `counsel-file-jump' to use fd or ripgrep, if they are available." :override #'counsel--find-return-list (cl-destructuring-bind (find-program . args) - (cond ((when-let (fd (executable-find (or doom-projectile-fd-binary "fd"))) + (cond ((when-let (fd (executable-find (or doom-projectile-fd-binary "fd") t)) (append (list fd "-H" "--color=never" "--type" "file" "--type" "symlink" "--follow") (if IS-WINDOWS '("--path-separator=/"))))) - ((executable-find "rg") + ((executable-find "rg" t) (append (list "rg" "--files" "--follow" "--color=never" "--hidden" "-g!.git" "--no-messages") (cl-loop for dir in projectile-globally-ignored-directories collect "--glob"