1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 12:19:48 +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:
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

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