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