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/zsh
Antoine Cotten 953d02ba59
{bash,zsh}: remove nix-shell early return in /etc/{bashrc,zshenv}
The condition does not match the comment, and therefore not the original
intention. It currently returns early in *any* type of Nix shell, not
just pure ones, including 'nix develop'.

Besides being unnecessary, this check prevents Nix shells from
functioning properly. For instance, it causes the initialization of the
Zsh fpath to be skipped, which is critical. The fact that the user is
unable to opt out of this behaviour makes this an ever bigger problem
since /etc/zshenv is being loaded unconditionally by Zsh.

For reference, NixOS does not perform such check, and apparently never
did.
2024-09-12 17:37:56 +00:00
..
default.nix {bash,zsh}: remove nix-shell early return in /etc/{bashrc,zshenv} 2024-09-12 17:37:56 +00: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