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

15 lines
258 B
Nix
Raw Normal View History

2023-09-03 10:09:45 +00:00
{ ... }:
{
programs = {
carapace.enable = true;
zsh.enable = true;
};
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileRegex home-files/.zshrc \
'source <(/nix/store/.*carapace.*/bin/carapace _carapace zsh)'
'';
}