On Wed, Mar 07, 2001 at 04:40:25PM -0500, Colin Cashman wrote:
> I have .bashrc set up to support color ls, but .bashrc isn't called when I 
> log in.
> 
> If I subsequently start a new shell, however, or 'source .bashrc' then the 
> file is read and processed.
> 
> What's the best way to handle this so it's done automagically upon logging 
> in? Just throw "source .bashrc" onto the end of the
> .bash_profile file?
> 

I put the following in my .bash_profile

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

hth,
kent

-- 
 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke


Reply via email to