1
mirror of https://github.com/wlcx/home.git synced 2025-12-08 19:43:46 +00:00

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

This commit is contained in:
Sam W 2025-12-05 15:43:35 +00:00
parent 1e8b5ebb0d
commit b3fedf3584

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 = {