Skip to content
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

🌍 mommy adds a variety of things (but mostly global config files)~ #96

Merged
merged 5 commits into from
Feb 17, 2024

Conversation

FWDekker
Copy link
Owner

fixes #95~

this adds the ability to define a global config file. that's a config file that is applied to all users. the user's config file in ~/.config/mommy/config.sh (or wherever it is) then overrides the global config~

the readme fully documents the feature, and the feature is unit-tested~

@ckiee the global config file is hard-coded to have name config.sh, and is searched for in directories $XDG_CONFIG_DIRS, and /etc/mommy/, and /usr/local/etc/mommy/. (you can check the exact definition here.) this is fine for linux, *bsd, and macos. is this also a sensible approach for nixos?

@FWDekker FWDekker added the feature New feature or request label Feb 16, 2024
@FWDekker FWDekker self-assigned this Feb 16, 2024
@ckiee
Copy link
Contributor

ckiee commented Feb 16, 2024

yup that's good :3

@FWDekker FWDekker merged commit 99cd9b7 into dev Feb 17, 2024
18 checks passed
@FWDekker FWDekker deleted the variety branch February 17, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support system-wide global config
2 participants