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"
|
"source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||||
}
|
}
|
||||||
|
|
||||||
${zshAliases}
|
|
||||||
|
|
||||||
${cfge.interactiveShellInit}
|
${cfge.interactiveShellInit}
|
||||||
|
|
||||||
${cfg.interactiveShellInit}
|
${cfg.interactiveShellInit}
|
||||||
|
|
||||||
|
${zshAliases}
|
||||||
|
|
||||||
${cfg.promptInit}
|
${cfg.promptInit}
|
||||||
|
|
||||||
# Tell zsh how to find installed completions
|
# Tell zsh how to find installed completions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user