![](https://seccdn.libravatar.org/avatar/d2f7bef0955962945cf8aef4a147f5d1.jpg?s=120&d=mm&r=g)
On 2020/03/24 08:53:51 +0100, Ludwig Nussel wrote:
Am 23.03.20 um 15:16 schrieb Michael Matz:
[...] Right now /etc/bash.bashrc.local is the only place where you can put system-wide aliases that shouldn't be overwritten by packages.
Werner: ideally you would devise some file (or directory) names where people could put it their system-wide aliases, also from packages, that would be sourced from /etc/profile.d/alias.bash .
So if we have /etc/profile and /etc/profile.d already, maybe it makes sense to have /etc/bash.bashrc and /etc/bash.bashrc.d?
And while we are at it those files installed by packages that are not actually meant to be edited need to be moved to /usr. Ie what's in /etc is actually for the admin so those "PLEASE DO NOT CHANGE" headers and .local files can be removed.
Then *every* shell has to be hacked to know about /usr/etc/ as well as to look for a local version below /etc/ ... Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr