zsh: move setEnvironment stuff to zprofile

This commit is contained in:
jD91mZM2
2018-05-09 14:58:29 +02:00
parent 2ea084ec3a
commit 77a6cbb1c1

View File

@@ -108,8 +108,6 @@ in
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
export __ETC_ZSHENV_SOURCED=1
${config.system.build.setEnvironment.text}
${cfge.shellInit}
${cfg.shellInit}
@@ -129,6 +127,8 @@ in
if [ -n "$__ETC_ZPROFILE_SOURCED" ]; then return; fi
__ETC_ZPROFILE_SOURCED=1
${config.system.build.setEnvironment.text}
${cfge.loginShellInit}
${cfg.loginShellInit}