On Mon, Jul 26, 2021 at 09:08:53PM +0200, Alex fxmbsw7 Ratchev wrote:
> well, i have self compiled bash without options enabled or so
> can you answer me when the /etc stuff gets read and when not
> 1. for debian 2. more overall
If you built your own bash, and if you're using that as your $SHELL, then
you get whatever behavior you enabled at compile time.
If you didn't turn on the SYS_BASHRC stuff in config-top.h, then there
isn't any second file in /etc that's read by regular shells. Only
~/.bashrc gets read.