home-manager/tests/modules/programs/atuin/zsh.nix
2024-07-10 23:11:15 +02:00

20 lines
323 B
Nix

{ ... }:
{
programs = {
atuin.enable = true;
zsh.enable = true;
};
test.stubs = {
atuin = { name = "atuin"; };
bash-preexec = { };
};
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \
home-files/.zshrc \
'eval "$(@atuin@/bin/atuin init zsh )"'
'';
}