pub fn config_dir() -> Result<PathBuf, String>
Config directory — config.toml, shell hooks, env.sh. RO-safe. Override: LEAN_CTX_CONFIG_DIR; default $XDG_CONFIG_HOME/lean-ctx.
config.toml
env.sh
LEAN_CTX_CONFIG_DIR
$XDG_CONFIG_HOME/lean-ctx