about summary refs log tree commit diff
path: root/nix/profiles/home-manager/fish.nix
blob: dee7e118fb70e3261d33d4455c64bbac5da80b6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ ... }: {
  programs.fish = {
    enable = true;
    interactiveShellInit = ''
      set fish_greeting ""
    '';

    shellAliases = {
      l =
        "eza --tree --level=2 --time-style=long-iso --group-directories-first --icons";
      ll = "l -l";
      lh = "ll";
      la = "ll -a";
      ld = "eza -ld";
    };
    shellAbbrs = { ncg = "nix-collect-garbage -d"; };
  };
}