![](https://seccdn.libravatar.org/avatar/a4139df10120ce151e457fd1faff018d.jpg?s=120&d=mm&r=g)
On 3/24/20 8:16 PM, Dr. Werner Fink wrote:
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/ ...
Well fish already ships all its distro / default config into /usr/share/fish and whats in /etc is only for sysadmins / users. Haven't decided if we will bother with /usr/etc as well but I suspect not. Having said that fish doesn't even try to be close to posix compliant. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B