Skip to content

Conversation

@majiayu000
Copy link

Summary

This PR fixes #7

Changes

  • app/cli/fs/fs.go

Support XDG_CONFIG_HOME and XDG_CACHE_HOME environment variables for
configuration and cache directories respectively. Falls back to
~/.config/plandex and ~/.cache/plandex when not set.

Maintains backwards compatibility with existing ~/.plandex-home-v2
directories - if legacy directory exists and XDG directory doesn't,
the legacy directory will continue to be used.

Fixes plandex-ai#7

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make plandex use XDG configuration if it's available

1 participant