From 454accd74288ac41dc56b4015825beb0e9e1bfe3 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 22 Jan 2024 13:03:46 -0500 Subject: [PATCH] fix proximity sort by using full path --- modules/common/shell/fzf.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/common/shell/fzf.nix b/modules/common/shell/fzf.nix index a2a2337..a62f5df 100644 --- a/modules/common/shell/fzf.nix +++ b/modules/common/shell/fzf.nix @@ -16,7 +16,7 @@ --search-path $HOME/dev \ --type directory \ --exact-depth 2 \ - | ${pkgs.proximity-sort}/bin/proximity-sort . \ + | ${pkgs.proximity-sort}/bin/proximity-sort $PWD \ | sed 's/\\/$//' \ | fzf --tiebreak=index \ )