git.iko.soy/typeable/nixpkgs
on master help sign in
zsh: move setEnvironment stuff to zprofile
commit77a6cbb1c1feeb6b6424d35319ac6226c780b34a authorjD91mZM2 <me@krake.one> dateWed 9 May 2018, 14:58 (9 years ago) parent2ea084e
1 file changed+2−2
nixos/modules/programs/zsh/zsh.nix+2−2
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}