Skip to content

feat: add env configuration option #21

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

totalolage
Copy link

  • Add env field to config for passing environment variables to Claude CLI
  • Update init.lua to pass env variables when spawning Claude terminal
  • Allows users to set custom environment like ANTHROPIC_API_KEY

fkalny-groupon and others added 2 commits June 7, 2025 15:00
- Add env field to config for passing environment variables to Claude CLI
- Update init.lua to pass env variables when spawning Claude terminal
- Allows users to set custom environment like ANTHROPIC_API_KEY

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Member

@ThomasK33 ThomasK33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I'd personally remove the vim.fn.getenv for the CLAUDE_TERMINAL_CMD and mention it in the docs if someone has that use case.

@ThomasK33
Copy link
Member

Hey @totalolage, you'll have to rebase onto main, as there's a merge conflict.

Could you also investigate the failing tests from the CI run?
You can run those tests locally using make test

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants