-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Config Loading #391
Config Loading #391
Conversation
From a first glance, this is looking pretty good! Certainly quite a few different options now! One thing I think we should be sure to do is document this well. Your description in this PR is good, but should probably make it's way somewhere more permanent too 🙂 |
@TheLostLambda |
Yes, I think so, and that would be a much much better way to do things! I'm not sure when I'll have the time, but I'll bump that up my todo list. It's just some trickery with GitHub actions I think. |
Awesome, no rush. Just good to know that its a possibility! @TheLostLambda |
I could be mistaken, but I think things like |
@TheLostLambda |
* Configuration is now handled in this order: --config flag ZELLIJ_CONFIG_FILE env get_default_config_dir() (directories-next) HOME/.config/zellij (for mac convenience) SYSTEM_DEFAULT_CONFIG_DIR (for distributions to specify sensible defaults ontop of zellij) from assets * Fix default.yaml file * Move default.yaml file to assets directory
Fix default.yaml file
Move default.yaml file to assets directory
@qballer Could you check, if the config is loaded from
.config/zellij/config.yaml
now please? In order for that to happen the original config directory on mac shouldn't exist.The default keys are now not anymore specified in the code, but taken from the
default.yaml
file.I am happy about suggestions or any input on this pr!