aboutsummaryrefslogtreecommitdiff
path: root/home/programs/cli/eza.nix
blob: 517ab2f16d4cd933c9506e2c4702f2776075b2cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ pkgs, ... }:
{
  programs.eza = {
    enable = true;
    icons = "always";
    colors = "always";
    git = true;
    enableFishIntegration = false; # I setup my own aliases
    extraOptions = [
      "--group-directories-first"
      "--no-quotes"
      "--git-ignore"
    ];
  };

  programs.fish.shellAliases = with pkgs; {
    la = "${eza}/bin/eza -la";
    ll = "${eza}/bin/eza -la -L=1";
    lt = "${eza}/bin/eza -aT -L=2";
  };
}