fork/home-manager

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

Gabe Dunnthefuck: add instant mode option3e1f8df4

master
461 B23 linesraw
1{ ... }:
2
3{
4  programs = {
5    thefuck.enable = true;
6    bash.enable = true;
7    zsh.enable = true;
8  };
9
10  test.stubs.thefuck = { };
11
12  nmt.script = ''
13    assertFileExists home-files/.bashrc
14    assertFileContains \
15      home-files/.bashrc \
16      'eval "$(@thefuck@/bin/thefuck '"'"'--alias'"'"')"'
17
18    assertFileExists home-files/.zshrc
19    assertFileContains \
20      home-files/.zshrc \
21      'eval "$(@thefuck@/bin/thefuck '"'"'--alias'"'"')"'
22  '';
23}