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
18
tests/modules/programs/scmpuff/no-shell.nix
Normal file
18
tests/modules/programs/scmpuff/no-shell.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ 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'
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue