Update Config chapter for recent Nushell changes (e.g., user autoloads)#1868
Conversation
|
I have a question about this feature: should those files in autoload dirs loaded with Actually I want to keep a minimal config file for the lsp server, that's the only reason keeps me from switching to this fancy setup. |
|
There's no flag today, but I do something similar with: let temp_home = (mktemp -d)
$env.XDG_CONFIG_HOME = $temp_home
$env.XDG_DATA_HOME = $temp_home
nu --config minimal_config.nu
# Optionally
#rm -r $temp_homeThere's a somewhat related Discord drawing-board where I discuss flags and autoloads, but more so forcing them to load when they wouldn't otherwise be. If we wanted to disable them, I'd probably try to rewrite the But I still think the entire startup needs some cleanup. That's mainly why I haven't gotten around to it yet. |
Updates the Configuration Chapter of the Book for recent updates, mainly user autoload directories.