diff options
| author | Jörg Thalheim <joerg@thalheim.io> | 2020-02-18 13:30:02 +0000 |
|---|---|---|
| committer | Jörg Thalheim <joerg@thalheim.io> | 2020-02-18 15:52:21 +0000 |
| commit | 55819e6c861f53450030eea832a76583a6786370 (patch) | |
| tree | e9b2f15490234a6c25d70f26baf30e1124cb7800 /pkgs/development/python-modules/httpserver | |
| parent | 9992702e4beac0230600a014073c91e315227d2d (diff) | |
Revert "zsh: don't clobber the environment of non-login shells"
This reverts commit 6a756af3e7a50c22a45f7d958657527ac47d2902.
Currently zshenv by default only set fpath and HELPDIR without exporting them.
A parent shell would also not set those variables usually as they are shell local.
It also sources a file called set-environment but this is protected by an
environment variable called __NIXOS_SET_ENVIRONMENT_DONE. Hence any modification
done by the parent shell should persist as long as __NIXOS_SET_ENVIRONMENT_DONE
is not unset.
This behavior deviates from what we do in bashrc and breaks common setups such
as tmux/mosh or screen.
Fixes #80437
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
