I ran into some issues setting up my terminal correctly on OSX. Namely, whenever I’d open a new tab on Terminal, my ~/.bashrc
script didn’t get executed. So, I had no syntax highlighting, and I had none of my aliases.
It turns out that ~/.bashrc
isn’t designed to be run for Terminal. This StackExchange answer hasĀ an explanation of why:
Terminal opens a login shell. So I followed their advice and source
d ~/.bashrc
in ~/.bash_profile