You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configcoverage was quite something and brought some usage questions. To aid in test harness a --load flag was introduced.
At the moment, when running, say > config --load some_file.toml --set [feature arepa] Nu will load in memory and use that configuration file and write there instead of the default config.toml for that specific pipeline call.
This means that whenever --load is used Nu will read and write to that configuration file instead and further calls to config without passing the load flag will still use the default config.toml for reading/writing configuration data.
Perhaps introducing a --merge flag could be used as well. In other shells, users share their dotfiles. Maybe if users share their configuration files we could do something like > config --load other_user_conf.toml --merge and Nu could merge the information with the default one.
@androbtech I think the approach we use in Cargo, which is to allow a hierarchy of configuration through the directory hierarchy, is a good idea.
We could still fall back to the location in the dirs crate, but search the directory hierarchy first.
We should also consider the "shared dotfiles" question directly. It's a very common workflow and it would be great to build something in (imagine if you could point your config at a github repo or gist and nu would just get it for you).
This issue has been marked stale for more than 10 days without activity. Closing this issue, but if you find that the issue is still valid, please reopen.
Activity
wycats commentedon Sep 10, 2019
@androbtech I think the approach we use in Cargo, which is to allow a hierarchy of configuration through the directory hierarchy, is a good idea.
We could still fall back to the location in the
dirscrate, but search the directory hierarchy first.We should also consider the "shared dotfiles" question directly. It's a very common workflow and it would be great to build something in (imagine if you could point your config at a github repo or gist and nu would just get it for you).
andrasio commentedon Nov 3, 2019
#900
github-actions commentedon Jun 24, 2021
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
github-actions commentedon Jul 7, 2021
This issue has been marked stale for more than 10 days without activity. Closing this issue, but if you find that the issue is still valid, please reopen.
Bump reedline (nushell#634)
Bump reedline (#634)
add reference to semicolons, remove redundant `group` from types_of_d…