Skip to content

feat: Add support for ACT_CONFIG_HOME env var #2718

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MatejKafka
Copy link

Implement support for a custom config directory through a new ACT_CONFIG_HOME env var. If set, it overrides the default config file locations from XDG and the home dir, but still uses .actrc from the current directory.

With this change, it should be possible to bundle act as a fully portable program by setting ACT_CONFIG_HOME and XDG_CACHE_HOME to a local directory.

@Ziip-dev
Copy link

Ziip-dev commented Apr 8, 2025

This would be super cool in combination with devbox / nix env to enable more isolated development environments!

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

Successfully merging this pull request may close these issues.

2 participants