im not sure i changed anything from default
so my deb reads the /etc on login but not on urxvt or sub bashes there
hm sounds like interactive wrongly understood issue
On Mon, Jul 26, 2021, 21:13 Greg Wooledge <greg@wooledge.org> wrote:
> 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.
>
>