Colors for my prompt set in my .bashrc do not appear when I open a new terminal, but only when I source it again. How do I fix this? Colors for my prompt set in my .bashrc do not appear when I open a new terminal, but only when I source it again. How do I fix this? shell shell

Colors for my prompt set in my .bashrc do not appear when I open a new terminal, but only when I source it again. How do I fix this?


Thanks for your thoughts. The real issue was with my ~/.bashrc. I had been checking if my terminal was a color terminal before I executed the git-aware prompt and setting colors, but I did my export TERM=term-color only at the end. So it was working fine when my ~/.bashrc was sourced twice instead of once. Now that I moved the export to the top, it was working fine.