[arch-general] User Environment Setup in Arch Linux?

Jordy van Wolferen jordz at archlinux.us
Thu Apr 23 11:46:26 EDT 2009


On Thursday 23 April 2009 14:48:27 Vincent Schumaker wrote:
> On Thu, Apr 23, 2009 at 8:37 AM, David C. Rankin <
>
> drankinatty at suddenlinkmail.com> 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


More information about the arch-general mailing list