mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 12:03:25 +00:00
26fa84ebce
scmpuff is a command line tool that allows you to work quicker with Git by substituting numeric shortcuts for files
15 lines
311 B
Nix
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)"'
|
|
'';
|
|
};
|
|
}
|