mirror of
https://github.com/nix-community/home-manager
synced 2024-11-22 20:53:14 +00:00
fish: whitespace and style fixes (camel case)
This commit is contained in:
parent
0522c7c1f6
commit
f5b24635b6
1 changed files with 7 additions and 4 deletions
|
@ -157,6 +157,7 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable (mkMerge [{
|
||||
|
||||
home.packages = [ cfg.package ];
|
||||
|
||||
xdg.dataFile."fish/home-manager_generated_completions".source =
|
||||
|
@ -276,12 +277,14 @@ in
|
|||
|
||||
end
|
||||
'';
|
||||
|
||||
} {
|
||||
xdg.configFile = mapAttrs' (f_name: f_body: {
|
||||
name = "fish/functions/${f_name}.fish";
|
||||
|
||||
xdg.configFile = mapAttrs' (fName: fBody: {
|
||||
name = "fish/functions/${fName}.fish";
|
||||
value = {"text" = ''
|
||||
function ${f_name}
|
||||
${f_body}
|
||||
function ${fName}
|
||||
${fBody}
|
||||
end
|
||||
'';};
|
||||
}) cfg.functions;
|
||||
|
|
Loading…
Reference in a new issue