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

BIN
flake.nix

Binary file not shown.