[arch-general] User Environment Setup in Arch Linux?
Vincent Schumaker
vschum at gmail.com
Thu Apr 23 08:48:27 EDT 2009
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
--
- Vincent Schumaker
More information about the arch-general
mailing list