pub fn load_config() -> Result<Config>Expand description
Load the user-scope configuration (defaults + the user file, no project or session layers). This is the view persistence baselines, the daemon, and runtime re-reads use — anything that must not observe another repo’s project config or a one-off CLI flag.
§Errors
Resolving (and creating) the config dir, reading the user file, and
deserializing the merged table into a typed Config. An absent config
file is not an error — that is the defaults. Unknown keys are not either;
they are collected as warnings, which this view discards.