1
mirror of https://github.com/wlcx/home.git synced 2025-10-11 14:33:45 +01:00

zsh: make fzf respect gitignore

This commit is contained in:
Sam W 2023-10-03 10:45:58 +01:00
parent 57ca6b2305
commit 7eaf129278

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