mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Add ripgrep module
This commit is contained in:
parent
80ec405f9e
commit
732dab59c0
4 changed files with 13 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -8,8 +8,8 @@
|
|||
!modules/
|
||||
!modules/bat/
|
||||
!modules/blueman/
|
||||
!modules/btop/
|
||||
!modules/boot/
|
||||
!modules/btop/
|
||||
!modules/discord/
|
||||
!modules/dunst/
|
||||
!modules/firefox/
|
||||
|
@ -33,6 +33,7 @@
|
|||
!modules/pueue/
|
||||
!modules/python/
|
||||
!modules/qt/
|
||||
!modules/ripgrep/
|
||||
!modules/rust/
|
||||
!modules/steam/
|
||||
!modules/steck/
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
"bat"
|
||||
"blueman"
|
||||
"btop"
|
||||
"boot"
|
||||
"btop"
|
||||
"discord"
|
||||
"dunst"
|
||||
"firefox"
|
||||
|
@ -43,6 +43,7 @@
|
|||
"pueue"
|
||||
"python"
|
||||
"qt"
|
||||
"ripgrep"
|
||||
"rust"
|
||||
"steam"
|
||||
"steck"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
nix-output-monitor
|
||||
p7zip
|
||||
pstree
|
||||
ripgrep
|
||||
strace
|
||||
timg
|
||||
tree
|
||||
|
|
9
modules/ripgrep/default.nix
Normal file
9
modules/ripgrep/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ 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" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue