fork/home-manager

git clone https://git.julia.blue/fork/home-manager

hitsmaxftantidote: static file move to /tmp2f78e6fc

master
676 B28 linesraw
1{ pkgs, ... }:
2
3let relToDotDirCustom = ".zshplugins";
4in {
5  programs.zsh = {
6    enable = true;
7    dotDir = relToDotDirCustom;
8    antidote = {
9      enable = true;
10      useFriendlyNames = true;
11      plugins = [ "zsh-users/zsh-autosuggestions" ];
12    };
13  };
14
15  test.stubs = {
16    antidote = { };
17    zsh = { };
18  };
19
20  nmt.script = ''
21    assertFileContains home-files/${relToDotDirCustom}/.zshrc \
22      'source @antidote@/share/antidote/antidote.zsh'
23    assertFileContains home-files/${relToDotDirCustom}/.zshrc \
24      'antidote load'
25    assertFileContains home-files/${relToDotDirCustom}/.zshrc \
26      "zstyle ':antidote:bundle' use-friendly-names 'yes'"
27  '';
28}