Re: .bashrc
[please type enter after +/- 70 characters]
On Thu, Jul 12, 2001 at 10:20:52AM -0500, Larry W. Irwin Sr. wrote:
> I am running Debian potato and am having a problem with .bashrc. It
> works fine as root but does not get executed when I log in as a user. The
> default .bashrc contains one alias command (the rest are commented
> out). When I type 'alias' (under the regular user account), no aliases
> are shown. What gives?
Put this in .bash_profile:
if [ -f ~/.bashrc ]
then
. ~/.bashrc
fi
If you want to understand why, read the bash(1) manual page.
man bash
Cheers,
Joost
Reply to:
- References:
- .bashrc
- From: "Larry W. Irwin Sr." <riverw@bigriver.net>