Re: Bash & .bashrc
Lo, on Wednesday, March 7, Colin Cashman did write:
> I have .bashrc set up to support color ls, but .bashrc isn't called when
> I log in.
As expected. See bash's man page (specifically the `INVOCATION' section)
for a discussion of the startup sequence.
> 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?
Basically, yes.
Richard
Reply to: