From 8397fb86d7a383d5793f22ad2de5e100dd10c15d Mon Sep 17 00:00:00 2001 From: Towry Wang Date: Fri, 21 Feb 2025 22:04:21 +0800 Subject: [PATCH] chore: use relative path instead of abs in jj --- nix/hm/fish.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/hm/fish.nix b/nix/hm/fish.nix index 4ac474b9..8431e67e 100644 --- a/nix/hm/fish.nix +++ b/nix/hm/fish.nix @@ -458,7 +458,7 @@ set -l before_token (string sub -l (math $cursor_pos - $token_length) -- "$buffer") set -l after_token (string sub -s (math $cursor_pos + 1) -- "$buffer") - set -l selected_files (git diff --name-only | fzf \ + set -l selected_files (git -c diff.relative=true diff --name-only | fzf \ --multi \ --bind "tab:toggle+down" \ --bind "shift-tab:toggle+up" \