-
Notifications
You must be signed in to change notification settings - Fork 11
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
Increase portability [meta-issue] #23
Comments
nice one, thank you for the idea how is yazelix working for you?
You're welcome! we'll create a portability strategy here and improve on that.. |
I should note that both yazi's and zellij's configs wont touch your default configs because they stay in a non-standard place for the configs so that's a plus for safety and out-of-the-boxness but it won't integrate into your personal config like you mention |
we should
|
Hi @luccahuguet, thank you. I'll take a look at some possible strategies... Zellij uses KDL, and I searched the KDL spec and couldn't see a way to include another file. The only way it seems is to bypass the file with another:
Yazi uses TOML and this appears to have the same constraints. So, we'd need to generate a patched config for each. How I'd suggest it could work:
This is just one possible way to manage it. I'd be interested to create a CLI script, though my time is limited. Would it be possible to achieve point number 1 in the first instance? Then I can properly give Yazelix a try. |
Interesting, sounds like a good plan yazelix is opinionated by nature, but if portability is increased, that would be a plus. if we follow this approach, it would be probably be a nushell script. I think we should split this issue into multiple ones, one for each program, because we might have to deal with this in a case-by-case scenario yazi for instance has this: https://yazi-rs.github.io/docs/flavors/overview so we'll turn this into a meta issue and split it up. |
Thanks for your thinking through this. It's great that yazelix is opinionated, so should it be! :) I feel I should reiterate the point that there is currently an intrinsic burden on any users that have a pre-existing configs for these apps of any decent complexity. Therefore the user has to pick through the (sometimes long) config supplied here, figure out what's being configured (the hard part) then apply to to their existing config by hand. I'm looking forward to being able to test yazelix when I have the head space to try this process with my own config. If I manage to do this ahead of any pared-down configs becoming available, I'll post the resulting short configs into each meta issue. |
thank you Rob! |
I agree with you, what we want is something like what we have here in my nushell config files https://github.com/luccahuguet/nu-files at the end of the default config.nu and env.nu, I just append an import to my actual configs (called my_env.nu and my_config.nu) too bad the nushell config is not really needed for yazelix haha but it's a nice example of what we are looking for |
Hi, would it be possible to separate the config that makes this work from the other config so that we can more easily incorporate into our own installations? Such as making the base config files includeable from our own larger config. Many thanks for your hard work on this.
The text was updated successfully, but these errors were encountered: