home-manager/tests/modules/programs/scmpuff/zsh.nix
2021-05-18 00:47:40 +02:00

15 lines
296 B
Nix

{ pkgs, ... }: {
config = {
programs = {
scmpuff.enable = true;
zsh.enable = true;
};
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \
home-files/.zshrc \
'eval "$(${pkgs.scmpuff}/bin/scmpuff init -s)"'
'';
};
}