Re: bash login shell detection broken using default compile options
From:
Martin Schulte
Subject:
Re: bash login shell detection broken using default compile options
Date:
Thu, 16 Mar 2023 19:19:23 +0100
Hello Tycho!
> the login shell detection (leading dash: -bash) is apparently broken - at
> least, ~/.bashrc is not sourced.
As far as I understand the manual ~/.bashrc is not sourced from a login-shell,
see https://www.gnu.org/software/bash/manual/bash.html#Bash-Startup-Files
At least in Debian 11 the default ~/.profile cares for sourcing ~/.bashrc, that
might explain the effect you describe.
Best regards,
Martin