1
Fork 0
satellite/home/features/cli/eza.nix

19 lines
394 B
Nix
Raw Permalink Normal View History

2023-11-04 20:18:14 +01:00
{ pkgs, lib, ... }:
let package = pkgs.eza;
in
{
home.packages = [ package ];
2023-12-10 23:48:46 +01:00
home.shellAliases =
2023-11-04 20:18:14 +01:00
let eza = lib.getExe package;
in
rec {
ls = "${eza} --icons --long";
la = "${ls} --all";
lt = "${ls} --tree"; # Similar to tree, but also has --long!
# I am used to using pkgs.tree, so this is nice to have!
tree = "${eza} --icons --tree";
};
}