summaryrefslogtreecommitdiff
path: root/modules/basic-tools/fish.nix
blob: b94814916ec2b43bcd9b079f5a1aad503b024a72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ pkgs, ... }:
{
  environment.systemPackages = with pkgs; [
    lsd
    fzf
    grc
    fishPlugins.done
    fishPlugins.fzf-fish
    fishPlugins.tide
    fishPlugins.grc
  ];

  programs.fish = {
    enable = true;
    interactiveShellInit = ''
      set fish_greeting
    '';
    shellAliases = {
      ls = "lsd --icon=never";
      l = "ls -l";
      ll = "ls -la";
      vim = "nvim";
      grep = "grep --color=auto";
    };
  };
}