On Sat, Jul 28, 2001 at 01:23:42AM -0700, Shaun Jackman wrote:

> Initially .bashrc wasn't being executed (is this usual?).

Yes.  ~/.bashrc is only sourced by an interactive, non-login shell.
If you want it to be sourced by a login shell, you need to put a line
like this:

    [ -r ~/.bashrc ] && source ~/.bashrc

into ~/.bash_profile (or ~/.profile).  For more details, please see
the INVOCATION section of the bash(1) man page.
  • bashrc Shaun Jackman
    • Greg Wooledge

Reply via email to