From a73c721f3fa726d2f7d29e46289913ad2d519e0f Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 18 Aug 2017 21:48:38 +0200 Subject: 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 --- nixos/modules/programs/zsh/zsh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix index a055291282c..5d3fa37df8c 100644 --- a/nixos/modules/programs/zsh/zsh.nix +++ b/nixos/modules/programs/zsh/zsh.nix @@ -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 -- cgit 1.4.1