> Personally, I think this would be a nice improvement, though it does > lead to the question "how do you set $XDG_CONFIG_HOME before you read > bashrc, where environment variables are typically defined".
I was thinking about it the other day. I think defining XDG_CONFIG_HOME and XDG_DATA_HOME in something like /etc/profile.d/00-prepare-env is a reasonable solution. Or this may even be done by /bin/login (after setting up HOME, SHELL, etc.), but that might be way too early. In any case, collecting all ~/.bash* files into their own subdirectory according to FHS seems logical.