2023-10-03 02:34:46 +02:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.zsh.zsh-abbr = {
|
|
|
|
enable = true;
|
|
|
|
abbreviations = { ga = "git add"; };
|
|
|
|
};
|
|
|
|
|
|
|
|
test.stubs.zsh-abbr = { };
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
abbreviations=home-files/.config/zsh-abbr/user-abbreviations
|
|
|
|
|
|
|
|
assertFileExists $abbreviations
|
2024-09-08 09:55:05 +02:00
|
|
|
assertFileContains $abbreviations "abbr ga='git add'"
|
2023-10-03 02:34:46 +02:00
|
|
|
'';
|
|
|
|
}
|