scmpuff: init (#1921)
scmpuff is a command line tool that allows you to work quicker with Git by substituting numeric shortcuts for files
This commit is contained in:
parent
db00b39a9a
commit
26fa84ebce
10 changed files with 136 additions and 0 deletions
15
tests/modules/programs/scmpuff/bash.nix
Normal file
15
tests/modules/programs/scmpuff/bash.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ 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)"'
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue