home-manager/tests/modules/programs/thefuck/integration-disabled.nix
2023-10-04 09:39:23 +02:00

19 lines
378 B
Nix

{ ... }:
{
programs = {
thefuck.enable = true;
thefuck.enableBashIntegration = false;
thefuck.enableZshIntegration = false;
bash.enable = true;
zsh.enable = true;
};
test.stubs.thefuck = { };
nmt.script = ''
assertFileNotRegex home-files/.bashrc '@thefuck@/bin/thefuck'
assertFileNotRegex home-files/.zshrc '@thefuck@/bin/thefuck'
'';
}