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

19 lines
388 B
Nix
Raw Normal View History

{ pkgs, ... }: {
config = {
programs = {
scmpuff.enable = true;
zsh.enable = true;
};
2021-08-12 20:47:22 +00:00
nixpkgs.overlays =
[ (self: super: { zsh = pkgs.writeScriptBin "dummy" ""; }) ];
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \
home-files/.zshrc \
2021-05-17 22:47:40 +00:00
'eval "$(${pkgs.scmpuff}/bin/scmpuff init -s)"'
'';
};
}