1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00
nix-darwin/modules/programs
Jörg Thalheim 7e6c548eef
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@55819e6c86
2024-09-11 13:01:26 +02:00
..
bash treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
info refactor: rename environment.postBuild to environment.extraSetup 2024-08-17 02:50:56 +03:00
nix-index treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
ssh programs.ssh: add certificate authorities 2024-07-31 19:34:17 +02:00
zsh zsh: let children shells set their fpath 2024-09-11 13:01:26 +02:00
direnv.nix chore: remove mkpackageoptionmd deprecation 2024-07-01 16:24:41 +02:00
fish.nix mapAttrsFlatten -> mapAttrsToList 2024-07-27 13:37:28 +10:00
gnupg.nix gpg: Suppress stderr from gpg-connect-agent on shell init 2024-08-29 16:37:56 -04:00
man.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
tmux.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
vim.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00