1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 10:07:44 +00:00
ncc/modules/common/ripgrep.nix
2025-02-23 21:05:40 +03:00

14 lines
322 B
Nix

{ lib, ... }: let
inherit (lib) enabled;
in {
environment.shellAliases.todo = /* sh */ ''rg "todo|fixme" --colors match:fg:yellow --colors match:style:bold'';
home-manager.sharedModules = [{
programs.ripgrep = enabled {
arguments = [
"--line-number"
"--smart-case"
];
};
}];
}