home-manager/tests/modules/programs/thefuck/integration-disabled.nix
Sebastian Zivota 8765d4e38a
thefuck: add fish integration (#4535)
Co-authored-by: Sumner Evans <me@sumnerevans.com>
2023-11-03 09:33:15 -06:00

21 lines
489 B
Nix

{ ... }:
{
programs = {
thefuck.enable = true;
thefuck.enableBashIntegration = false;
thefuck.enableFishIntegration = false;
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
assertFileNotRegex home-files/.zshrc '@thefuck@/bin/thefuck'
'';
}