111011b2c2
- If a function is defined, check that the function file exists and that the contents matches a given string. - If no functions exists, the functions folder should not exist. - Verify plugin functionality.
23 lines
339 B
Nix
23 lines
339 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.fish = {
|
|
enable = true;
|
|
|
|
functions = { };
|
|
};
|
|
|
|
nmt = {
|
|
description =
|
|
"if fish.functions is blank, the functions folder should not exist.";
|
|
script = ''
|
|
assertPathNotExists home-files/.config/fish/functions
|
|
'';
|
|
|
|
};
|
|
};
|
|
}
|