8 Oct
2011
8 Oct
'11
11:52 p.m.
On Sat, Oct 8, 2011 at 7:33 PM, Jorge Almeida <jjalmeida@gmail.com> wrote:
Please help me to understand how bash does its initialization when started as a non-login shell. The manual says it sources ~/.bashrc and that's it. The Arch Wiki says it sources /etc/bash.bashrc and then ~/.bashrc. Sure enough, it does what the Wiki says... It occurred to me to look in the Wiki, after much trouble, the kind of trouble that happens from trusting the manuals. Did I misunderstood the manual or is Arch distributing a patched version? (Somewhat contrary to the Arch way, if I understood it.)
It's non-default behavior, but it's not actually a patch - just a compile-time option. See the "_bashconfig" variable in the PKGBUILD.