24 lines
359 B
Nix
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)"'
|
|
'';
|
|
}
|