1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-30 18:38:31 +02:00
home-manager/tests/modules/programs/scmpuff/zsh.nix
Phillip Cloud 26fa84ebce
scmpuff: init (#1921)
scmpuff is a command line tool that allows you to work quicker with Git by substituting numeric shortcuts for files
2021-04-22 22:27:29 -04:00

16 lines
308 B
Nix

{ pkgs, ... }: {
config = {
programs = {
scmpuff.enable = true;
zsh.enable = true;
};
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \
home-files/.zshrc \
'eval "$(${pkgs.gitAndTools.scmpuff}/bin/scmpuff init -s)"'
'';
};
}