1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-13 22:59:44 +01:00
home-manager/tests/modules/programs/atuin/zsh.nix
Janik 215af6252d
atuin: add disable key options (#3754)
Co-authored-by: Janik H <janik@aq0.de>
2023-03-15 11:52:48 +01:00

20 lines
307 B
Nix

{ ... }:
{
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 )"'
'';
}