feat(rg): use ripgrep-all
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-04-09 09:16:54 -04:00
parent 8adc0cc435
commit ec0576965f
2 changed files with 13 additions and 7 deletions

View file

@ -9,12 +9,22 @@
enableBashIntegration = true;
};
bash.sessionVariables = {
# FIXME: why is this not set by home-manager?
RIPGREP_CONFIG_PATH = "${config.xdg.configHome}/ripgrep/ripgreprc";
bash = {
sessionVariables = {
inherit (config.home.sessionVariables) RIPGREP_CONFIG_PATH;
};
shellAliases = {
rg = "rga";
cat = "bat ";
man = "BAT_THEME='default' batman ";
};
};
ripgrep = {
enable = true;
package = pkgs.ripgrep-all;
arguments = [
"--max-columns=150"
"--max-columns-preview"
@ -29,10 +39,6 @@
jq.enable = true;
htop.enable = true;
bash.shellAliases = {
cat = "bat ";
man = "BAT_THEME='default' batman ";
};
bat = {
enable = true;
config = {

BIN
flake.nix

Binary file not shown.