On 28/06/2024 08:32, Dale wrote:
Also, some software can add files to the bashrc.d directory too. I'm
not sure what added the gentoo-color file but I also found a file for
kitty that I installed recently. If I remove kitty, it removes the file too. From what I've read, this is why it is changing to a directory.
It gives software a place to change these settings and be removed if the software is removed.
The other BIGGY here, is that by separating out all the little changes
for eg kitty, your personal preferrences, etc etc into little files on
their own rather than one big monolith, you don't suddenly get
etc-update or whatever moaning "/etc/bashrc has changed, do you want the
old one, new one, or merge changes".
I've still got my original /etc/postfix.cf file because it's been so
mangled with local changes I daren't touch it ...
I think systemd is the big driver here - it was a design aim of systemd
to put default configuration in one place, local system over-rides in a
second, and user over-rides in a third. I'm sure other software beat
systemd to it, but systemd said "you *WILL* do this", and once they
enforced it, everybody started doing it. Makes sense ...
Cheers,
Wol
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)