Skip to content

[Bug] Bash tool not auto-sourcing CLAUDE_ENV_FILE in shell initialization #51862

@whizzzkid

Description

@whizzzkid

Bug Description
The underlying issue is that CLAUDE_ENV_FILE is set but doesn't appear to be automatically sourced by the Bash tool's shell
initialization. This might be a Claude Code configuration issue — the env file is recognized but the shell instances spawned
by the Bash tool aren't picking it up automatically. You may want to file this as an issue or check if there's an additional
setting needed to make CLAUDE_ENV_FILE auto-source in each shell invocation.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.104
  • Feedback ID: 753d4160-2a2e-44ea-974f-953b5a306dd8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions