1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 17:19:45 +01:00
home-manager/tests/modules/programs/scmpuff/no-shell.nix
Phillip Cloud 26fa84ebce
scmpuff: init (#1921)
scmpuff is a command line tool that allows you to work quicker with Git by substituting numeric shortcuts for files
2021-04-22 22:27:29 -04:00

18 lines
431 B
Nix

{ pkgs, ... }: {
config = {
programs = {
scmpuff = {
enable = true;
enableBashIntegration = false;
enableZshIntegration = false;
};
bash.enable = true;
zsh.enable = true;
};
nmt.script = ''
assertFileNotRegex home-files/.zshrc '${pkgs.gitAndTools.scmpuff} init -s'
assertFileNotRegex home-files/.bashrc '${pkgs.gitAndTools.scmpuff} init -s'
'';
};
}