1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-11 19:41:08 +01:00

tests/zsh: add zprof test

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-07-11 23:50:40 -05:00
parent 196487c54f
commit ae62fd8ad8
2 changed files with 16 additions and 0 deletions

View file

@ -9,6 +9,7 @@
zsh-history-substring-search = ./history-substring-search.nix;
zsh-plugins = ./plugins.nix;
zsh-prezto = ./prezto.nix;
zsh-zprof = ./zprof.nix;
zsh-session-variables = ./session-variables.nix;
zsh-syntax-highlighting = ./syntax-highlighting.nix;
zshrc-contents-priorities = ./zshrc-content-priorities.nix;

View file

@ -0,0 +1,15 @@
{
config = {
programs.zsh = {
enable = true;
zprof.enable = true;
};
test.stubs.zsh = { };
nmt.script = ''
assertFileRegex home-files/.zshrc 'zmodload zsh/zprof'
assertFileRegex home-files/.zshrc '^zprof$'
'';
};
}