On Sun, 2005-07-03 at 09:56 -0500, Michael Sullivan wrote: > I have three applications that open for when I log into gnome: > evolution, nautilus and gnome-terminal. I use gnome-terminal a lot. In > my ~/.bash_profile I have "alias ls="ls --color" (It's what I got used > to using Red Hat before I moved to Gentoo.) I usually open two or three > tabs in the terminal while I'm working on stuff. I don't think my > ~/.bash_profile is being loaded because I always have to source it to > get my colored ls listings. I think ~/.bashrc is being loaded because > I've customized my environment variables (CPATH and CLASSPATH) and > they're being loaded because I can echo them in the terminal. I tried > adding "source ~/.bash_profile" to the end of ~/.bashrc and opening a > new tab and the new tab opens but I never get a prompt in that tab. > Have I messed something up somewhere? Why isn't my ~/.bash_profile > working? >
.bash_profile is only sourced by login shells. Commands appropriate for all interactive shells should be put in .bashrc. Look at /etc/skel/ for the Gentoo defaults. btw, putting "source ~/.bash_profile" in .bashrc is probably causing an infinite loop; the default Gentoo .bash_profile sources .bashrc. HTH, Ed -- [email protected] mailing list

