3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
Jörg Thalheim 55819e6c86
Revert "zsh: don't clobber the environment of non-login shells"
This reverts commit 6a756af3e7.

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
2020-02-18 15:52:21 +00:00
..
doc nixos/nixos-build-vms: switch to python test-driver 2020-02-15 19:35:17 +01:00
lib Merge pull request #79659 from worldofpeace/cleanup-python-test-lib 2020-02-14 12:38:57 -05:00
maintainers maintainers/create-azure.sh: run from anywhere 2020-01-09 20:54:28 +00:00
modules Revert "zsh: don't clobber the environment of non-login shells" 2020-02-18 15:52:21 +00:00
tests Merge pull request #80346 from rnhmjoj/loaof 2020-02-17 21:03:40 +02:00
COPYING
default.nix
README
release-combined.nix nixos/release-combined.nix: List constituents of the 'tested' job by name 2020-02-17 17:20:45 +01:00
release-small.nix nixos/release-small.nix: List constituents of the 'tested' job by name 2020-02-17 16:37:10 +01:00
release.nix nixos/release.nix: Import './..' instead of nixpkgs 2020-02-12 22:44:59 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.