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 22:47:22 +02:00
nixpkgs.overlays =
[ (self: super: { zsh = pkgs.writeScriptBin "dummy" ""; }) ];
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \
home-files/.zshrc \
2021-05-18 00:47:40 +02:00
'eval "$(${pkgs.scmpuff}/bin/scmpuff init -s)"'
'';
};
}