Revert "zsh: move setEnvironment stuff to zprofile"
This reverts commit 77a6cbb1c1feeb6b6424d35319ac6226c780b34a.
commiteffb02131cd9f028c77f8c96ffccfbbaa05e020b
authorGregor Kleen <pngwjpgh@users.noreply.github.com>
dateSat 19 May 2018, 10:14 (9 years ago)
parent301072d
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}