zsh: make fzf respect gitignore

This commit is contained in:
Sam W 2023-10-03 10:45:58 +01:00
parent 57ca6b2305
commit 7eaf129278
1 changed files with 3 additions and 1 deletions

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