mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 21:49:48 +01:00
8a175a8913
Fixes tests that are affected by <https://github.com/NixOS/nixpkgs/pull/333744>.
17 lines
322 B
Nix
17 lines
322 B
Nix
{ ... }:
|
|
|
|
{
|
|
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
|
|
assertFileContains $abbreviations "abbr ga='git add'"
|
|
'';
|
|
}
|