1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-10 21:29: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 Mikilio
parent a3a95b464b
commit 96822d9071
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

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