1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/programs/carapace/zsh.nix

15 lines
258 B
Nix
Raw Normal View History

2023-09-03 12:09:45 +02: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)'
'';
}