1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39:47 +01:00
home-manager/tests/modules/programs/thefuck/integration-disabled.nix
2024-04-29 09:53:42 +02:00

23 lines
646 B
Nix

{ ... }:
{
programs = {
thefuck.enable = true;
thefuck.enableBashIntegration = false;
thefuck.enableFishIntegration = false;
thefuck.enableZshIntegration = false;
thefuck.enableNushellIntegration = false;
bash.enable = true;
zsh.enable = true;
nushell.enable = true;
};
test.stubs.thefuck = { };
nmt.script = ''
assertFileNotRegex home-files/.bashrc '@thefuck@/bin/thefuck'
assertPathNotExists home-files/.config/fish/functions/fuck.fish
assertFileNotRegex home-files/.zshrc '@thefuck@/bin/thefuck'
assertFileNotRegex home-files/.config/nushell/config.nu '@thefuck@/bin/thefuck'
'';
}