home-manager/tests/modules/programs/scmpuff/bash.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

15 lines
311 B
Nix

{ pkgs, ... }: {
config = {
programs = {
scmpuff.enable = true;
bash.enable = true;
};
nmt.script = ''
assertFileExists home-files/.bashrc
assertFileContains \
home-files/.bashrc \
'eval "$(${pkgs.gitAndTools.scmpuff}/bin/scmpuff init -s)"'
'';
};
}