Hey. Anything new on this? :D
It's probably not that important anymore nowadays... VTE works without it's shell file being sourced[0], but still: Most files in /etc/profile.d/ seems to actually rather belong to bash and interactive shells (and thus rather the .bashrc family than the .profile family). I also don't think anything will come forward from LSB or freedesktop side - and to me, it also doesn't seem to be their business. .bashrc-like files are quite clearly bash's domain (unlike .profile which is shared by several sh-like shells), so if at all it would be bash's duty to "standardise" this. So are there still any technical reasons against shipping a /etc/bash.bashrc.d/ (and inviting other packages to use that)? Perhaps I wouldn't even source it from /etc/bash.bashrc but leave that up to the user's .bashrc. But at least it would be a better place for these shell snippets than /etc/profile.d. Cheers, Chris. [0] Well the behaviour is actually still a bit different, cause the shell script uses the terminal's OSC 7 command (which IMO has anyway some minor/subtle security issue), e.g. it would pick up the path for sub-shells/screens/etc. running in the terminal.