1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 15:19:45 +01:00
home-manager/tests/modules/programs/carapace/bash.nix
2024-04-10 21:26:10 +02:00

14 lines
262 B
Nix

{ ... }:
{
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)'
'';
}