git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #40759 from pngwjpgh/fix/zshenv

Revert "zsh: move setEnvironment stuff to zprofile" (#40223)

commit94afddcdb99e9598171de3683eaa334721dc9a8b authorxeji <36407913+xeji@users.noreply.github.com> dateSat 19 May 2018, 10:58 (9 years ago) parentbd6a3b2effb021
1 file changed+2−2
nixos/modules/programs/zsh/zsh.nix+2−2
nixos/modules/programs/zsh/zsh.nix+2−2
@@ -108,6 +108,8 @@ in
108108 if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
109109 export __ETC_ZSHENV_SOURCED=1
110110
111+ ${config.system.build.setEnvironment.text}
112+
111113 ${cfge.shellInit}
112114
113115 ${cfg.shellInit}
@@ -127,8 +129,6 @@ in
127129 if [ -n "$__ETC_ZPROFILE_SOURCED" ]; then return; fi
128130 __ETC_ZPROFILE_SOURCED=1
129131
130− ${config.system.build.setEnvironment.text}
131−
132132 ${cfge.loginShellInit}
133133
134134 ${cfg.loginShellInit}