1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-21 17:59:39 +01:00
home-manager/tests/modules/programs/pls/bash.nix
Austin Horstman 9389f373be
pls: enableAliases -> enableShellIntegration (#6932)
Allow granular control of alias creation utilizing our shell integration
options.
2025-04-29 20:37:20 -05:00

20 lines
407 B
Nix

{
programs = {
bash.enable = true;
pls = {
enable = true;
enableBashIntegration = true;
};
};
nmt.script = ''
assertFileExists home-files/.bashrc
assertFileContains \
home-files/.bashrc \
"alias ls=@pls@/bin/pls"
assertFileContains \
home-files/.bashrc \
"alias ll='@pls@/bin/pls -d perm -d user -d group -d size -d mtime -d git'"
'';
}