mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 20:17:45 +00:00
Smart case ripgrep
This commit is contained in:
parent
732dab59c0
commit
d6a5f28231
1 changed files with 5 additions and 4 deletions
|
@ -1,9 +1,10 @@
|
|||
{ ulib, ... }: with ulib;
|
||||
|
||||
homeConfiguration {
|
||||
programs.nushell.shellAliases.todo = ''rg --ignore-case "TODO|FIXME" --colors match:fg:yellow --colors match:style:bold'';
|
||||
|
||||
programs.ripgrep = enabled {
|
||||
arguments = [ "--line-number" ];
|
||||
programs.nushell.shellAliases = {
|
||||
rg = "rg --line-number --smart-case";
|
||||
todo = ''rg "todo|fixme" --colors match:fg:yellow --colors match:style:bold'';
|
||||
};
|
||||
|
||||
programs.ripgrep = enabled {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue