[GH-ISSUE #18] CLAUDE_CONFIG_DIR environment variable is ignored when running continues resume #7

Closed
opened 2026-03-04 01:39:11 +03:00 by kerem · 2 comments
Owner

Originally created by @yondifon on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/yigitkonur/cli-continues/issues/18

The continues CLI fails to respect the CLAUDE_CONFIG_DIR environment variable when passed inline. The app defaults to the standard config directory instead of the one specified.

Steps to Reproduce
Run the following command:

CLAUDE_CONFIG_DIR="$HOME/.claude-work" continues resume 799b45e1-7bb1-44d4-ae55-add5c0e84215

Expected Result

We should use projects in ~/.claude-work but it doesn't

Originally created by @yondifon on GitHub (Feb 26, 2026). Original GitHub issue: https://github.com/yigitkonur/cli-continues/issues/18 The continues CLI fails to respect the CLAUDE_CONFIG_DIR environment variable when passed inline. The app defaults to the standard config directory instead of the one specified. Steps to Reproduce Run the following command: ```sh CLAUDE_CONFIG_DIR="$HOME/.claude-work" continues resume 799b45e1-7bb1-44d4-ae55-add5c0e84215 ``` ## Expected Result We should use projects in ~/.claude-work but it doesn't
kerem closed this issue 2026-03-04 01:39:11 +03:00
Author
Owner

@yigitkonur commented on GitHub (Mar 2, 2026):

hey @yondifon — found the root cause and put up a fix in #28. the session index cache wasn't aware of env var changes, so CLAUDE_CONFIG_DIR was being ignored when the cache was still fresh. should be good now — mind giving it a try when it lands?

<!-- gh-comment-id:3986770091 --> @yigitkonur commented on GitHub (Mar 2, 2026): hey @yondifon — found the root cause and put up a fix in #28. the session index cache wasn't aware of env var changes, so `CLAUDE_CONFIG_DIR` was being ignored when the cache was still fresh. should be good now — mind giving it a try when it lands?
Author
Owner

@yondifon commented on GitHub (Mar 3, 2026):

hey @yondifon — found the root cause and put up a fix in #28. the session index cache wasn't aware of env var changes, so CLAUDE_CONFIG_DIR was being ignored when the cache was still fresh. should be good now — mind giving it a try when it lands?

Will do; Thank you fro all the good work.

<!-- gh-comment-id:3991392481 --> @yondifon commented on GitHub (Mar 3, 2026): > hey [@yondifon](https://github.com/yondifon) — found the root cause and put up a fix in [#28](https://github.com/yigitkonur/cli-continues/pull/28). the session index cache wasn't aware of env var changes, so `CLAUDE_CONFIG_DIR` was being ignored when the cache was still fresh. should be good now — mind giving it a try when it lands? Will do; Thank you fro all the good work.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cli-continues#7
No description provided.