about summary refs log tree commit diff
path: root/users/fcuny/zsh.nix
blob: be827b4207c818cdb92139ee9ddaa01538b73f0d (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
    '';
  };
}