jupyter_core
jupyter_core copied to clipboard
Add support for XDG_CONFIG_HOME
Right now, I have a patch (wip) to implement XDG_CONFIG_HOME
on an opt-in basis. That is, XDG_CONFIG_HOME
is used if and only if .jupyter
does not exist. This minimizes breakage by ensuring that the change only affects:
- New users with
XDG_CONFIG_HOME
set, - Existing users with
XDG_CONFIG_HOME
set who explicitly migrate, - Existing users with
XDG_CONFIG_HOME
set who delete their.jupyter
directory for any other reason.
The solution to cases 1/3 is documentation, and I'm willing to update the docs in jupyter/jupyter, and any other locations.
The question is: should the Linux default get set to .config
, when it isn't set? This is a more significant change in behavior, but it parallels the existing default of .local/share
.