As a big mac user, one of my long time complaints have always been about color in my bash shell not translating over to a Linux host I’m ssh’ing into (predominantly CentOS/RHEL hosts). A work around I’ve found to address this was to edit my .bashrc on linux systems I use as follows:
alias ls=’ls $LS_OPTIONS’
If you want color in your mac terminal you can add the following lines to your .bash_profile under your home directory in /Users (e.g. /Users/jdoe).
For dark terminal theme users:
For light terminal theme users:
Special thanks and credit to OSX Daily for the color OSX Terminal tips.
So this above is all fine and dandy, but I’ve found that declaring terminal type as ‘terminal-color’ a better option for me.