meta: Prefer home-manager module over alias for ripgrep

Aliases should be avoided since they are only relevant to one shell.
This commit is contained in:
Donovan Glover 2024-08-24 11:55:07 -04:00
parent 1defdcf785
commit 2b8fc665f6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 10 additions and 2 deletions

View File

@ -27,7 +27,6 @@
tree = "eza --all --long --tree"; tree = "eza --all --long --tree";
mv = "mv -i"; mv = "mv -i";
cp = "cp -ia"; cp = "cp -ia";
rg = "rg --max-columns=2000 --smart-case";
}; };
shellAbbrs = { shellAbbrs = {

10
home/ripgrep.nix Normal file
View File

@ -0,0 +1,10 @@
{
programs.ripgrep = {
enable = true;
arguments = [
"--max-columns=2000"
"--smart-case"
];
};
}

View File

@ -21,7 +21,6 @@ in
jq jq
fd fd
fzf fzf
ripgrep
xh xh
file file
timg timg