diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-01-09 01:41:37 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-01-09 01:41:37 +0100 |
| commit | 30ccc15bed7d0f8adb9c265488f2c583332e9c5a (patch) | |
| tree | 5f4a569da061d85fdb3871c83b1c82b1a4f79b58 /modules/programs | |
| parent | 45817462135e24652003232561778c4a9d8a7b87 (diff) | |
programs.zsh: revert environment changes
Diffstat (limited to 'modules/programs')
| -rw-r--r-- | modules/programs/zsh.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index f9c063f..7f33bf4 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -113,9 +113,6 @@ in if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi export __ETC_ZSHENV_SOURCED=1 - export PATH=${config.environment.systemPath}''${PATH:+:$PATH} - ${config.system.build.setEnvironment} - ${cfg.shellInit} # Read system-wide modifications. @@ -146,6 +143,8 @@ in # /etc/zshrc: DO NOT EDIT -- this file has been generated automatically. # This file is read for interactive shells. + bindkey -e + # Only execute this file once per shell. if [ -n "$__ETC_ZSHRC_SOURCED" -o -n "$NOSYSZSHRC" ]; then return; fi __ETC_ZSHRC_SOURCED=1 @@ -157,6 +156,8 @@ in setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK + export PATH=${config.environment.systemPath}''${PATH:+:$PATH} + ${config.system.build.setEnvironment} ${config.system.build.setAliases} ${config.environment.extraInit} |
