I have a
.bash_profile file containing a number of bash customizations. I have the same file on a Linux server and locally on my Mac. On the server, everything behaves as expected. However, locally on my Mac I am having trouble. I have a basic alias that looks like this to add color to my directory names:
alias ls='ls -G'
If I run a
$ ls -G command from the command line, the command works and my directories are colored. However, if I alias the command in my
bash_profile and then type
ls I do not get directory highlighting. I tried to add this alias to my
.bashrc as well, but that didn't work either. Does anyone know what my problem is? Thanks in advance for the help.