depot/third_party/home-manager/tests/modules/programs/zsh/history-path-new-default.nix

17 lines
257 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
config = {
home.stateVersion = "20.03";
programs.zsh.enable = true;
test.stubs.zsh = { };
nmt.script = ''
assertFileRegex home-files/.zshrc '^HISTFILE="$HOME/.zsh_history"$'
'';
};
}