1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 16:19:44 +01:00
home-manager/tests/modules/programs/thefuck/integration-disabled.nix

21 lines
489 B
Nix
Raw Normal View History

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