nixpkgs/nixos/modules/programs/zsh
Jörg Thalheim 55819e6c86
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
2020-02-18 15:52:21 +00:00
..
oh-my-zsh.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
oh-my-zsh.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
zinputrc
zsh-autoenv.nix zsh-autoenv: init at 2017-12-16 (#34932) 2018-02-14 06:31:59 +00:00
zsh-autosuggestions.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
zsh-syntax-highlighting.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
zsh.nix Revert "zsh: don't clobber the environment of non-login shells" 2020-02-18 15:52:21 +00:00