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

fix(exa): switch to eza

This commit is contained in:
Ryan Cao 2023-09-07 19:42:54 +08:00
parent 2a7eb11c77
commit 042cd345f9
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
3 changed files with 17 additions and 9 deletions

16
programs/eza.nix Normal file
View file

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