home-manager/tests/modules/programs/atuin/bash.nix

24 lines
376 B
Nix
Raw Normal View History

{ ... }:
{
programs = {
atuin.enable = true;
2022-08-07 11:10:13 +00:00
bash = {
enable = true;
enableCompletion = false;
};
};
test.stubs = {
2024-07-10 21:11:15 +00:00
atuin = { name = "atuin"; };
bash-preexec = { };
};
nmt.script = ''
assertFileExists home-files/.bashrc
assertFileContains \
home-files/.bashrc \
'eval "$(@atuin@/bin/atuin init bash )"'
'';
}