mirror of https://github.com/wlcx/home.git
zsh: make fzf respect gitignore
This commit is contained in:
parent
57ca6b2305
commit
7eaf129278
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
packages = pkgs.callPackage ./packages.nix {};
|
packages = pkgs.callPackage ./packages.nix {};
|
||||||
|
@ -54,6 +53,9 @@ in {
|
||||||
# Don't honk at me constantly
|
# Don't honk at me constantly
|
||||||
unsetopt beep
|
unsetopt beep
|
||||||
'';
|
'';
|
||||||
|
envExtra = ''
|
||||||
|
export FZF_DEFAULT_COMMAND='${pkgs.fd}/bin/fd --type f --strip-cwd-prefix'
|
||||||
|
'';
|
||||||
enableSyntaxHighlighting = true;
|
enableSyntaxHighlighting = true;
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue