1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-07 22:03:27 +02: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)"'
'';
}