.bashrc runs everytime a shell is opened and .bash_profile is run only
when a user logs in.
My question then is why the default .bashrc is empty and the default
.bash_profile has:
$ more .bash_profile
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v
1.5 2002
/05/12 21:48:18 azarah Exp $
#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc
eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"
The other way around seems to be more useful since it sets up some nice
aliases.
--
----------------------------------------
Sent from Mozilla and GNU/Linux.
Powered by an AMD processor.
--
[EMAIL PROTECTED] mailing list
- Re: [gentoo-user] .bashrc && .bash_profile Bob Lockie
- Re: [gentoo-user] .bashrc && .bash_profile brett holcomb
- Re: [gentoo-user] .bashrc && .bash_profile brett holcomb
