1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +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'
assertFileNotExists home-files/.config/fish/functions/fuck.fish
2023-10-01 16:41:55 +02:00
assertFileNotRegex home-files/.zshrc '@thefuck@/bin/thefuck'
'';
}