[arch-general] non-login bash

Ray Kohler ataraxia937 at gmail.com
Sat Oct 8 19:52:24 EDT 2011


On Sat, Oct 8, 2011 at 7:33 PM, Jorge Almeida <jjalmeida at 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.


More information about the arch-general mailing list