mirror of
https://github.com/nix-community/home-manager
synced 2024-11-13 06:39:44 +01:00
eza: use mkDefault
for aliases
Using `mkDefault` for the individual aliases makes it easier to override or replace individual entries by the user, without having to use `mkForce` which is often confusing for new users.
This commit is contained in:
parent
a3a95b464b
commit
96822d9071
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ with lib;
|
|||
|
||||
optionsAlias = { eza = "eza ${args}"; };
|
||||
|
||||
aliases = {
|
||||
aliases = builtins.mapAttrs (_name: value: lib.mkDefault value) {
|
||||
ls = "eza";
|
||||
ll = "eza -l";
|
||||
la = "eza -a";
|
||||
|
|
Loading…
Reference in a new issue