mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +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
31abb4f6bc
commit
0906e8dfe7
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ with lib;
|
||||||
|
|
||||||
optionsAlias = { eza = "eza ${args}"; };
|
optionsAlias = { eza = "eza ${args}"; };
|
||||||
|
|
||||||
aliases = {
|
aliases = builtins.mapAttrs (_name: value: lib.mkDefault value) {
|
||||||
ls = "eza";
|
ls = "eza";
|
||||||
ll = "eza -l";
|
ll = "eza -l";
|
||||||
la = "eza -a";
|
la = "eza -a";
|
||||||
|
|
Loading…
Reference in a new issue