Skip to content

Commit

Permalink
Merge pull request #40223 from jD91mZM2/shouldnt-we-just-use-the-pam-…
Browse files Browse the repository at this point in the history
…environment-file-instead

zsh: move setEnvironment stuff to zprofile
  • Loading branch information
matthewbauer committed May 16, 2018
2 parents 11e908e + 77a6cbb commit 485fe9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/programs/zsh/zsh.nix
Expand Up @@ -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}
Expand All @@ -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}
Expand Down

0 comments on commit 485fe9e

Please sign in to comment.