summaryrefslogtreecommitdiff
path: root/programs/zsh/default.nix
blob: ce1820e0cf9e217db3d7eb5854376326ff86b7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{config, ...}: {
  programs.zsh = {
    enable = true;
    enableCompletion = true;
    enableGlobalCompInit = false;
    autosuggestions.enable = true;
    syntaxHighlighting.enable = true;
    histSize = 10000;
  };

  home-manager.users.${config.user} = {
    home.file = {
      ".zshrc".source = ./zshrc;
      ".zprofile".source = ./zprofile;
    };
  };
}