diff options
| author | Emily <vcs@emily.moe> | 2024-09-12 20:16:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-12 20:16:27 +0100 |
| commit | 122ff62d68c9068706393001d5884b66bc0067c4 (patch) | |
| tree | 8c011aa3f1ace0af80bd4f96d223480873cf0046 /modules/programs/bash | |
| parent | 9d7aebb3039fbfb93afebef53210e2999f8b7e1a (diff) | |
| parent | 953d02ba5958df017d9682f727d10a75cb8a0391 (diff) | |
Merge pull request #1072 from antoineco/zsh/no-nix-shell-check
Remove nix-shell early return in /etc/{zshenv,bashrc}
Diffstat (limited to 'modules/programs/bash')
| -rw-r--r-- | modules/programs/bash/default.nix | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/programs/bash/default.nix b/modules/programs/bash/default.nix index 2e27ff9..3abb3e8 100644 --- a/modules/programs/bash/default.nix +++ b/modules/programs/bash/default.nix @@ -55,9 +55,6 @@ in if [ -n "$__ETC_BASHRC_SOURCED" -o -n "$NOSYSBASHRC" ]; then return; fi __ETC_BASHRC_SOURCED=1 - # Don't execute this file when running in a pure nix-shell. - if [ "$IN_NIX_SHELL" = "pure" ]; then return; fi - if [ -z "$__NIX_DARWIN_SET_ENVIRONMENT_DONE" ]; then . ${config.system.build.setEnvironment} fi |
