Repository navigation
~/Work is hardcoded and should be DRY to make override possible OMARCHY_WORK_DIR
#11335
eloyesp
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The
Workdirectory is used multiple times, but there is no a single source of truth, so it is difficult to override.It is used on install where a mise.toml file is added there,
tryis configured there, the default agent is launched there andomarchy-dev-pkg-testexpect it too.Also, there is a new default dir exactly for that, that I think should be the default on Omarchy 5, that is the
Projectsdir in the latest release of XDG_user_directories:So, the first step I propose is setting one environment variable
OMARCHY_WORK_DIR, default it to~/Workand make all the scripts respect that variable. This can be set within v4 without breaking anything.When it is time to work on the version 5 of Omarchy, new installs might set a better default.
I can work on this on a PR if everyone agrees.
All reactions