Merge pull request #40223 from jD91mZM2/shouldnt-we-just-use-the-pam-environment-file-instead
zsh: move setEnvironment stuff to zprofile
commit485fe9e766db3a2e440e296af00d019995c175b3
authorMatthew Justin Bauer <mjbauer95@gmail.com>
dateWed 16 May 2018, 00:52 (9 years ago)
parent11e908e77a6cbb
nixos/modules/programs/zsh/zsh.nix+2−2
@@ -108,8 +108,6 @@ in
108108 if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
109109 export __ETC_ZSHENV_SOURCED=1
110110
111− ${config.system.build.setEnvironment.text}
112−
113111 ${cfge.shellInit}
114112
115113 ${cfg.shellInit}
@@ -129,6 +127,8 @@ in
129127 if [ -n "$__ETC_ZPROFILE_SOURCED" ]; then return; fi
130128 __ETC_ZPROFILE_SOURCED=1
131129
130+ ${config.system.build.setEnvironment.text}
131+
132132 ${cfge.loginShellInit}
133133
134134 ${cfg.loginShellInit}