diff --git a/hosts/common/home/default.nix b/hosts/common/home/default.nix index 20a8a75a..f7b53a0c 100644 --- a/hosts/common/home/default.nix +++ b/hosts/common/home/default.nix @@ -13,6 +13,7 @@ ./mpv.nix ./neovim.nix ./newsflash.nix + ./ripgrep.nix ./splatmoji.nix ./ssh.nix ./sublime-music.nix diff --git a/hosts/common/home/ripgrep.nix b/hosts/common/home/ripgrep.nix new file mode 100644 index 00000000..ab46f2c3 --- /dev/null +++ b/hosts/common/home/ripgrep.nix @@ -0,0 +1,9 @@ +{ sane-lib, ... }: +{ + # .ignore file is read by ripgrep (rg), silver searcher (ag), maybe others. + # ignore translation files by default when searching, as they tend to have + # a LOT of duplicate text. + sane.user.fs.".ignore" = sane-lib.fs.wantedText '' + po/ + ''; +}