home-manager/tests/modules/programs/thefuck/integration-disabled.nix

19 lines
378 B
Nix
Raw Normal View History

2023-10-01 16:41:55 +02:00
{ ... }:
{
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'
'';
}