Re: non-login bash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux