zsh: make fzf respect gitignore

This commit is contained in:
2023-10-03 10:48:58 +01:00
parent 57ca6b2305
commit 7eaf129278
+3 -1
View File
@@ -1,6 +1,5 @@
{
pkgs,
lib,
...
}: let
packages = pkgs.callPackage ./packages.nix {};
@@ -54,6 +53,9 @@ in {
# Don't honk at me constantly
unsetopt beep
'';
envExtra = ''
export FZF_DEFAULT_COMMAND='${pkgs.fd}/bin/fd --type f --strip-cwd-prefix'
'';
enableSyntaxHighlighting = true;
plugins = [
{