mirror of
https://github.com/RGBCube/ncc
synced 2025-08-01 12:37:46 +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/
|
||||||
!modules/bat/
|
!modules/bat/
|
||||||
!modules/blueman/
|
!modules/blueman/
|
||||||
!modules/btop/
|
|
||||||
!modules/boot/
|
!modules/boot/
|
||||||
|
!modules/btop/
|
||||||
!modules/discord/
|
!modules/discord/
|
||||||
!modules/dunst/
|
!modules/dunst/
|
||||||
!modules/firefox/
|
!modules/firefox/
|
||||||
|
@ -33,6 +33,7 @@
|
||||||
!modules/pueue/
|
!modules/pueue/
|
||||||
!modules/python/
|
!modules/python/
|
||||||
!modules/qt/
|
!modules/qt/
|
||||||
|
!modules/ripgrep/
|
||||||
!modules/rust/
|
!modules/rust/
|
||||||
!modules/steam/
|
!modules/steam/
|
||||||
!modules/steck/
|
!modules/steck/
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
|
|
||||||
"bat"
|
"bat"
|
||||||
"blueman"
|
"blueman"
|
||||||
"btop"
|
|
||||||
"boot"
|
"boot"
|
||||||
|
"btop"
|
||||||
"discord"
|
"discord"
|
||||||
"dunst"
|
"dunst"
|
||||||
"firefox"
|
"firefox"
|
||||||
|
@ -43,6 +43,7 @@
|
||||||
"pueue"
|
"pueue"
|
||||||
"python"
|
"python"
|
||||||
"qt"
|
"qt"
|
||||||
|
"ripgrep"
|
||||||
"rust"
|
"rust"
|
||||||
"steam"
|
"steam"
|
||||||
"steck"
|
"steck"
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
p7zip
|
p7zip
|
||||||
pstree
|
pstree
|
||||||
ripgrep
|
|
||||||
strace
|
strace
|
||||||
timg
|
timg
|
||||||
tree
|
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