1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 20:17:45 +00:00

Smart case ripgrep

This commit is contained in:
RGBCube 2023-12-13 13:56:22 +03:00
parent 732dab59c0
commit d6a5f28231
No known key found for this signature in database

View file

@ -1,9 +1,10 @@
{ ulib, ... }: with ulib; { ulib, ... }: with ulib;
homeConfiguration { homeConfiguration {
programs.nushell.shellAliases.todo = ''rg --ignore-case "TODO|FIXME" --colors match:fg:yellow --colors match:style:bold''; programs.nushell.shellAliases = {
rg = "rg --line-number --smart-case";
programs.ripgrep = enabled { todo = ''rg "todo|fixme" --colors match:fg:yellow --colors match:style:bold'';
arguments = [ "--line-number" ];
}; };
programs.ripgrep = enabled {};
} }