19 lines
394 B
Nix
19 lines
394 B
Nix
{ pkgs, lib, ... }:
|
|
let package = pkgs.eza;
|
|
in
|
|
{
|
|
home.packages = [ package ];
|
|
|
|
home.shellAliases =
|
|
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";
|
|
};
|
|
}
|