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

Re: bash, but no .bashrc??



On Fri, Jan 24, 2003 at 03:52:53PM -0500, Andy Estes wrote:
> I am running Debian Woody (3.0r1).  The default shell for my user account is
> bash, and I can verify this by typing 'ps' once I am logged on.  However,
> the contents of my .bashrc do not get executed by default.  If I explicitely
> invoke bash (typing 'bash' at the shell), .bashrc is executed properly, but
> if I simply log in (locally or remotely), it doesn't happen.  Can anyone
> explain what is going on here?

if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi

Add that to your ~/.bash_profile

-- 
:wq

  Matthew Daubenspeck
  http://www.oddprocess.org



Reply to: