[prev in list] [next in list] [prev in thread] [next in thread] 

List:       secure-shell
Subject:    Re: bashrc
From:       Greg Wooledge <wooledg () eeg ! ccf ! org>
Date:       2001-07-30 11:59:56
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic