On Thursday 06 September 2007 15:06:02 Albert Shih wrote:
> Hi all
>
> I'm using bash for standard shell, what I don't understand is when I'm
> connect by ssh on my server the bash don't parse .bashrc file.
>
> But if in the bash session I type «bash» this time the .bashrc is use.
>
> How can I make the .bashrc file is read when I connect by ssh ?

I source it in ~/.bash_profile:

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to