1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-02 21:13:33 +02:00
home-manager/tests/modules/programs/atuin/bash.nix
2022-08-07 15:25:44 +02:00

24 lines
359 B
Nix

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