1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 21:49:48 +01:00
home-manager/tests/modules/programs/scmpuff/zsh.nix
2023-10-03 18:04:43 +02:00

20 lines
313 B
Nix

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