2021-11-04 16:42:44 +00:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
atuin.enable = true;
|
2023-01-10 09:35:00 +00:00
|
|
|
bash = {
|
|
|
|
enable = true;
|
|
|
|
enableCompletion = false;
|
|
|
|
};
|
2021-11-04 16:42:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
test.stubs = {
|
|
|
|
atuin = { };
|
|
|
|
bash-preexec = { };
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.bashrc
|
|
|
|
assertFileContains \
|
|
|
|
home-files/.bashrc \
|
2023-08-08 10:19:01 +00:00
|
|
|
'eval "$(@atuin@/bin/atuin init bash )"'
|
2021-11-04 16:42:44 +00:00
|
|
|
'';
|
|
|
|
}
|