home-manager/tests/modules/programs/scmpuff/zsh.nix

21 lines
313 B
Nix
Raw Normal View History

{ ... }:
{
programs = {
scmpuff.enable = true;
zsh.enable = true;
};
2021-08-12 20:47:22 +00:00
test.stubs = {
zsh = { };
scmpuff = { };
};
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \
home-files/.zshrc \
2023-10-01 10:17:06 +00:00
'eval "$(@scmpuff@/bin/scmpuff init --shell=zsh)"'
'';
}