From 83f3bfd0d109917f86bde47034146857fe46d17b Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Tue, 27 Aug 2024 14:03:45 -0400 Subject: [PATCH] feat(dirvish-fd): add automated build job for `fd` --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.org b/config.org index 04a5d02..c287b2f 100644 --- a/config.org +++ b/config.org @@ -4043,6 +4043,12 @@ The variable ~+workspaces-switch-project-function~ contains a function that is r ;; Set dirvish line highlight to something less blinding (set-face-attribute 'dirvish-hl-line nil :inherit 'hl-line)) + +(after! dirvish-fd + (setq dirvish-fd-program + (if-let ((path (nix-build-out-path-gcroot "fd" "nixpkgs#fd"))) + (concat path "/bin/fd") + (error "Building fd for dirvish-fd failed")))) #+end_src *** Sidebar Project Tree