summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2024-09-11 13:01:26 +0200
committerAntoine Cotten <hello@acotten.com>2024-09-11 13:01:26 +0200
commit7e6c548eef2372cef1287ef45350e29ca5740159 (patch)
treeb7b9770b2fc985171d543bc9c4d652bb4f058a19 /tests
parentf4f18f3d7229845e1c9d517457b7a0b90a38b728 (diff)
zsh: let children shells set their fpath
Currently zshenv by default only sets fpath without exporting it. 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 __NIX_DARWIN_SET_ENVIRONMENT_DONE. Hence any modification done by the parent shell should persist as long as __NIX_DARWIN_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. NixOS/nixpkgs@55819e6c861f53450030eea832a76583a6786370
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions