Date: Thu, 6 Sep 2007 15:38:38 +0000 From: Pollywog <lists-fbsd@shadypond.com> To: freebsd-questions@freebsd.org Subject: Re: bash on login. Message-ID: <200709061538.38596.lists-fbsd@shadypond.com> In-Reply-To: <20070906150602.GE61602@pcjas.obspm.fr> References: <20070906150602.GE61602@pcjas.obspm.fr>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709061538.38596.lists-fbsd>
