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:
Norbert Melzer 2024-03-13 13:46:29 +01:00 committed by GitHub
parent 31abb4f6bc
commit 0906e8dfe7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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";