1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

fix(eza): use built-in hm option

This commit is contained in:
Ryan Cao 2023-09-08 20:48:55 +08:00
parent 8d912f6bc0
commit 5ff6b584db
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
2 changed files with 24 additions and 32 deletions

View file

@ -1,16 +1,8 @@
{pkgs, ...}: let
aliases = {
eza = "eza --all --icons";
ls = "eza";
ll = "eza -l";
la = "eza -a";
lt = "eza --tree";
lla = "eza -la";
_: {
programs.eza = {
enable = true;
enableAliases = true;
icons = true;
extraOptions = ["--all"];
};
in {
home.packages = [pkgs.eza];
programs.bash.shellAliases = aliases;
programs.zsh.shellAliases = aliases;
programs.fish.shellAliases = aliases;
}