feat: make ripgrep config
This commit is contained in:
parent
0aaf7d522b
commit
26e3837f62
2 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# Home-manager module
|
||||
|
||||
{ lib, ... }: {
|
||||
{ config, lib, ... }: {
|
||||
imports = [
|
||||
./programs.nix
|
||||
];
|
||||
|
@ -144,7 +144,9 @@
|
|||
jelly = "mosh matt@10.0.0.121 -- ssh -t matt@10.0.0.123 'tmux -2u new -At laptop'";
|
||||
qbit = "mosh matt@10.0.0.121 -- ssh -t matt@10.0.0.128 'tmux -2u new -At laptop'";
|
||||
};
|
||||
sessionVariables = { # see configuration.nix
|
||||
sessionVariables = {
|
||||
# FIXME: why is this not set by home-manager?
|
||||
"RIPGREP_CONFIG_PATH" = "${config.xdg.configHome}/ripgrep/ripgreprc";
|
||||
};
|
||||
|
||||
profileExtra = ''
|
||||
|
|
|
@ -7,7 +7,11 @@
|
|||
ripgrep = {
|
||||
enable = true;
|
||||
arguments = [
|
||||
"--no-config"
|
||||
"--max-columns=150"
|
||||
"--max-columns-preview"
|
||||
"--hidden"
|
||||
"--glob=!.git/*"
|
||||
"--smart-case"
|
||||
];
|
||||
};
|
||||
jq.enable = true;
|
||||
|
|
Loading…
Reference in a new issue