
scmpuff is a command line tool that allows you to work quicker with Git by substituting numeric shortcuts for files
19 lines
431 B
Nix
19 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'
|
|
'';
|
|
};
|
|
}
|