fzf: get files from fd to respect gitignore when ctrl-ting

This commit is contained in:
2025-12-05 15:43:35 +00:00
parent 1e8b5ebb0d
commit b3fedf3584
+2 -4
View File
@@ -55,9 +55,6 @@ in {
# Don't honk at me constantly
unsetopt beep
'';
envExtra = ''
export FZF_DEFAULT_COMMAND='${pkgs.fd}/bin/fd --type f --strip-cwd-prefix'
'';
syntaxHighlighting.enable = true;
plugins = [
{
@@ -95,7 +92,8 @@ in {
fzf = {
enable = true;
defaultCommand = "${pkgs.ripgrep}/bin/rg --files";
defaultCommand = "${pkgs.fd}/bin/fd --type f";
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
};
ssh = {