Put shell aliases in interactiveShellInit

This commit is contained in:
Matthias Beyer 2015-01-08 14:59:39 +01:00
parent c5e855e060
commit 5e6068d913

View file

@ -10,6 +10,10 @@ cfge = config.environment;
cfg = config.programs.fish;
fishAliases = concatStringsSep "\n" (
mapAttrsFlatten (k: v: "alias ${k}='${v}'") cfg.shellAliases
);
in
{
@ -87,6 +91,8 @@ in
${cfge.interactiveShellInit}
${cfg.promptInit}
${fishAliases}
'';
};