1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00
nix-darwin/modules/programs/zsh
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
..
default.nix zsh: let children shells set their fpath 2024-09-11 13:01:26 +02:00
fzf-completion.zsh zsh: use container names for fzf docker completion 2017-07-18 22:34:09 +02:00
fzf-git.zsh zsh: add options for fzf completion and git 2017-02-21 22:52:08 +01:00
fzf-history.zsh fzf-history: don't enable by default and reverse 2017-02-21 21:32:26 +01:00