mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
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:
parent
9281b05c7f
commit
a73c721f3f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user