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

24 lines
646 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;
2024-04-29 07:53:42 +00:00
thefuck.enableNushellIntegration = false;
2023-10-01 14:41:55 +00:00
bash.enable = true;
zsh.enable = true;
2024-04-29 07:53:42 +00:00
nushell.enable = true;
2023-10-01 14:41:55 +00:00
};
test.stubs.thefuck = { };
nmt.script = ''
assertFileNotRegex home-files/.bashrc '@thefuck@/bin/thefuck'
2023-12-20 21:33:36 +00:00
assertPathNotExists home-files/.config/fish/functions/fuck.fish
2023-10-01 14:41:55 +00:00
assertFileNotRegex home-files/.zshrc '@thefuck@/bin/thefuck'
2024-04-29 07:53:42 +00:00
assertFileNotRegex home-files/.config/nushell/config.nu '@thefuck@/bin/thefuck'
2023-10-01 14:41:55 +00:00
'';
}