programs.zsh: move evlauation of ${zshAliases} after cfg.interactiveShellInit

`cfg.interactiveShellInit` is used by modules like
`programs.zsh.oh-my-zsh`. This means that all aliases defined in
`programs.zsh.shellAliases` might be overriden which is highly
unpredictable
This commit is contained in:
Maximilian Bosch 2017-08-18 21:48:38 +02:00
parent 9281b05c7f
commit a73c721f3f
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -164,12 +164,12 @@ in
"source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh"
}
${zshAliases}
${cfge.interactiveShellInit}
${cfg.interactiveShellInit}
${zshAliases}
${cfg.promptInit}
# Tell zsh how to find installed completions