Skip to content

Commit

Permalink
nixos: inline set-environment for bash and zsh
Browse files Browse the repository at this point in the history
(cherry picked from commit b00a3fc)
  • Loading branch information
LnL7 committed Mar 8, 2018
1 parent 9defa1d commit a434034
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/programs/bash/bash.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ in
programs.bash = {

shellInit = ''
. ${config.system.build.setEnvironment}
${config.system.build.setEnvironment.text}
${cfge.shellInit}
'';
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/programs/zsh/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ in
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
export __ETC_ZSHENV_SOURCED=1
. ${config.system.build.setEnvironment}
${config.system.build.setEnvironment.text}
${cfge.shellInit}
Expand Down

0 comments on commit a434034

Please sign in to comment.