depot/third_party/home-manager/tests/modules/programs/carapace/bash.nix

15 lines
262 B
Nix
Raw Normal View History

{ ... }:
{
programs = {
carapace.enable = true;
bash.enable = true;
};
nmt.script = ''
assertFileExists home-files/.bashrc
assertFileRegex home-files/.bashrc \
'source <(/nix/store/.*carapace.*/bin/carapace _carapace bash)'
'';
}