1
0
mirror of https://github.com/nix-community/home-manager synced 2024-08-20 02:56:30 +02:00
home-manager/tests/modules/programs/thefuck/integration-disabled.nix

24 lines
646 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;
2024-04-29 09:53:42 +02:00
thefuck.enableNushellIntegration = false;
2023-10-01 16:41:55 +02:00
bash.enable = true;
zsh.enable = true;
2024-04-29 09:53:42 +02:00
nushell.enable = true;
2023-10-01 16:41:55 +02:00
};
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'
2024-04-29 09:53:42 +02:00
assertFileNotRegex home-files/.config/nushell/config.nu '@thefuck@/bin/thefuck'
2023-10-01 16:41:55 +02:00
'';
}