1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 00:39:45 +01:00

fish: whitespace and style fixes (camel case)

This commit is contained in:
Ryan Orendorff 2019-09-24 01:20:44 -07:00 committed by Robert Helgesson
parent 0522c7c1f6
commit f5b24635b6
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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;