nixos/modules/base/ripgrep.nix

17 lines
458 B
Nix
Raw Normal View History

2024-03-05 22:57:41 +01:00
{home-manager, ...}: {
2023-08-25 00:57:42 +02:00
# ripgrep is a line-oriented search tool that recursively searches the
# current directory for a regex pattern.
# https://github.com/BurntSushi/ripgrep
2023-08-20 16:18:04 +02:00
home-manager.users.caspervk = {
programs.ripgrep = {
enable = true;
arguments = [
2023-08-25 00:57:42 +02:00
# Search case-insensitively by defaylt if the pattern is all lowercase.
# Use --case-sensitive or -s to override.
2023-08-20 16:18:04 +02:00
"--smart-case"
];
};
};
}