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

21 lines
489 B
Nix
Raw Normal View History

2023-10-01 14:41:55 +00:00
{ ... }:
{
programs = {
thefuck.enable = true;
thefuck.enableBashIntegration = false;
thefuck.enableFishIntegration = false;
2023-10-01 14:41:55 +00:00
thefuck.enableZshIntegration = false;
bash.enable = true;
zsh.enable = true;
};
test.stubs.thefuck = { };
nmt.script = ''
assertFileNotRegex home-files/.bashrc '@thefuck@/bin/thefuck'
assertFileNotExists home-files/.config/fish/functions/fuck.fish
2023-10-01 14:41:55 +00:00
assertFileNotRegex home-files/.zshrc '@thefuck@/bin/thefuck'
'';
}