bash remains, doggedly, one of the few things on my system that isn't following the xdg basedir spec for storage of its configuration files, and it's the one thing that's almost impossible to fix, due to lack of relevant environment variables, and the fact that it's run on login, with no control over its parameters. It would be lovely if bash would read these files: - ~/.config/bash/profile - ~/.config/bash/bashrc if they are present, as alternatives to ~/.bash_profile and ~/.bashrc.
I've sent a patch upstream here: https://lists.gnu.org/archive/html/bug-bash/2021-05/msg00024.html
...and a PR here: https://src.fedoraproject.org/rpms/bash/pull-request/27
I still don't see this patch merged upstream[1] nor there is any update on mailing list. Allison, Would it be fine if this issue is directly discussed upstream ? I would pick up the patch during a rebase (rather than adding it separately in Fedora) if it gets merged. [1] https://git.savannah.gnu.org/cgit/bash.git/log/?h=devel
The latest update from upstream isn't very promising looking: https://lists.gnu.org/archive/html/bug-bash/2021-05/msg00093.html and unfortunately there's no actual bug tracker. I don't imagine that this "not a high priority issue" from half a year ago will be spontaneously revisited by the maintainer at this point. If I had to guess, I'd say this idea is basically dead due to maintainer disinterest. :( Could we possibly address this on the Fedora side with hooks in our shipped bashrc/profile?
(In reply to Allison Karlitskaya from comment #4) > The latest update from upstream isn't very promising looking: > > https://lists.gnu.org/archive/html/bug-bash/2021-05/msg00093.html > > and unfortunately there's no actual bug tracker. > > I don't imagine that this "not a high priority issue" from half a year ago > will be spontaneously revisited by the maintainer at this point. > > If I had to guess, I'd say this idea is basically dead due to maintainer > disinterest. :( > > > Could we possibly address this on the Fedora side with hooks in our shipped > bashrc/profile? I don't try to deviate from upstream. However, I will nudge Chet again about your patch.
Closing due to lack of progress after Chet's response[1]. [1] https://lists.gnu.org/archive/html/bug-bash/2021-11/msg00045.html