1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-20 05:17:28 +02:00
home-manager/tests/modules/programs/atuin/bash.nix
2024-07-10 23:11:15 +02:00

23 lines
376 B
Nix

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