fork/home-manager

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

ilaumjdzsh-abbr: add moduleb0e0d826

master
324 B17 linesraw
1{ ... }:
2
3{
4  programs.zsh.zsh-abbr = {
5    enable = true;
6    abbreviations = { ga = "git add"; };
7  };
8
9  test.stubs.zsh-abbr = { };
10
11  nmt.script = ''
12    abbreviations=home-files/.config/zsh-abbr/user-abbreviations
13
14    assertFileExists $abbreviations
15    assertFileContains $abbreviations "abbr 'ga'='git add'"
16  '';
17}