about summary refs log tree commit diff
path: root/users/fcuny/zsh.nix
blob: 6b56d353d2a5fcfb8e1e9a15ebacfbd2007f938e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{config, lib, pkgs, ...}:

{

  xdg.configFile."zsh/personal".source = config.lib.file.mkOutOfStoreSymlink ../../configs/zsh;

  programs.zsh = {
    enable = true;
    enableAutosuggestions = true;
    enableCompletion = true;
    defaultKeymap = "emacs";
    history = {
      save = 100000;
      extended = true;
      ignoreDups = true;
    };
    initExtra = ''
      source ${config.xdg.configHome}/zsh/personal/init.zsh
    '';
  };
}