Skip to content

Commit

Permalink
modules/home-manager: remove problematic aliases
Browse files Browse the repository at this point in the history
`fd` is not a good replacement for GNU `find`, and has been very annoying. `rg` is a bit similar, it has some surprising differences. In both cases there are benefits to keep both accessible, hence why I'm removing the aliases for these.
  • Loading branch information
Frontear committed Dec 12, 2024
1 parent 39c9fda commit 79dce9f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions modules/home-manager/programs/fd/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,5 @@ in {

config = lib.mkIf cfg.enable {
home.packages = [ cfg.package ];

home.shellAliases = {
find = lib.getExe cfg.package;
};
};
}
4 changes: 0 additions & 4 deletions modules/home-manager/programs/ripgrep/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,5 @@ in {

config = lib.mkIf cfg.enable {
home.packages = [ cfg.package ];

home.shellAliases = {
"grep" = "${baseNameOf (lib.getExe cfg.package)}";
};
};
}

0 comments on commit 79dce9f

Please sign in to comment.