Re: User Environment Setup in Arch Linux?

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



On Thursday 23 April 2009 14:48:27 Vincent Schumaker wrote:
> On Thu, Apr 23, 2009 at 8:37 AM, David C. Rankin <
>
> drankinatty@xxxxxxxxxxxxxxxxxx> wrote:
> > Listmates,
> >
> >        Coming from SuSE, I'm used to /etc/profile sourcing ~/.bashrc. I
> > was scratching my head as to why my .bashrc wasn't being read when I
> > would ssh into
> > the Arch Linux box. Looking at the Arch /etc/profile it seems parts come
> > from
> > SuSE, but not the part about also sourcing ~/.bashrc.
> >
> >        Any reason not to source ~/.bashrc from /etc/profile in Arch? Will
> > I screw
> > myself up somewhere else?
> >
> > --
> > David C. Rankin, J.D.,P.E.
> > Rankin Law Firm, PLLC
> > 510 Ochiltree Street
> > Nacogdoches, Texas 75961
> > Telephone: (936) 715-9333
> > Facsimile: (936) 715-9339
> > www.rankinlawfirm.com
>
> David,
>
>     Bash won't source ~/.bashrc unless it's a login shell.  Try
> creating/editing ~/.bash_profile.  Check the "Startup Scripts" section in
> the bash entry of Wikipedia.  http://en.wikipedia.org/wiki/Bash

What I do is:
ln -s ~/.bashrc ~/.bash_profile

To always have the same settings


[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