1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00
config/modules/common/ripgrep.nix
TheGeneralist 462724af45
cli changes
- fix: make nushell central's default shell
- fix: ls aliases
- add batgrep aliases
- add lazygit
2026-02-15 15:28:54 +01:00

18 lines
392 B
Nix

{ ... }: {
environment.shellAliases = {
todo = /* sh */ ''rg "todo|fixme" --colors match:fg:yellow --colors match:style:bold'';
todos = /* sh */ "nvim ~/todo.md";
bgr = "batgrep";
brg = "batgrep";
};
home-manager.sharedModules = [{
programs.ripgrep = {
enable = true;
arguments = [
"--line-number"
"--smart-case"
];
};
}];
}