home-manager/tests/modules/programs/scmpuff/bash.nix
2023-10-03 18:04:43 +02:00

17 lines
289 B
Nix

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