summaryrefslogtreecommitdiff
path: root/users/seth/shell/default.nix
blob: 49192ceae5ccb8c150024c2d582539ac6e4c90f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{config, ...}: {
  imports = [
    ./bash.nix
    ./fish.nix
  ];

  home = {
    sessionVariables = rec {
      EDITOR = "nvim";
      VISUAL = EDITOR;
      CARGO_HOME = "${config.xdg.dataHome}/cargo";
      LESSHISTFILE = "${config.xdg.stateHome}/less/history";
    };

    shellAliases = {
      diff = "diff --color=auto";
      g = "git";
      gs = "g status";
    };
  };
}