[Linux-disciples] trouble with .bashrc
Jamie Forrest
jaf at honksandsirens.com
Sun Nov 7 09:09:28 EST 2004
First thanks for your help.
> Perhaps counterintuitively, bash reads .bashrc only if it is run as
> -not- the login shell (and it is run interactively). So you want to
> put
>
> . ~/.bashrc
>
> (as Steve mentioned) in your ~/.bash_profile or ~/.profile file.
> (~/.bash_profile overrides ~/.profile)
okay I did that. So now ~/.profile file looks like:
. ~/.bashrc
test -r /sw/bin/init.sh && . /sw/bin/init.sh
But it still doesn't prompt me. Any other leads?
> By the way, you don't need to set executable permission on ~/.bashrc,
> ~/.profile, or ~/.bash_profile
Okay thanks. That's changed now.
Jamie
More information about the Linux-disciples
mailing list