1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-06 11:19:44 +01:00
home-manager/tests/modules/programs/atuin/zsh.nix

21 lines
306 B
Nix
Raw Normal View History

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