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:
Phillip Cloud 2021-04-22 22:27:29 -04:00 committed by GitHub
parent db00b39a9a
commit 26fa84ebce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 136 additions and 0 deletions

View 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'
'';
};
}