home-manager/tests/modules/programs/zsh/history-path-old-default.nix

21 lines
344 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
config = {
home.stateVersion = "19.03";
programs.zsh.enable = true;
nixpkgs.overlays = [
(self: super: {
zsh = pkgs.writeScriptBin "dummy-zsh" "";
})
];
nmt.script = ''
assertFileRegex home-files/.zshrc '^HISTFILE="$HOME/.zsh_history"$'
'';
};
}