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.
alias? Do any of the other customizations work on your Mac? – Mat Oct 5 '11 at 12:33ls -Galias does not show up. The strange thing is that I have another alias (ls -aF) also in my.bash_profilethat shows up and also works just fine. – dr.bunsen Oct 5 '11 at 12:57.bash_profilefile please? – Mat Oct 5 '11 at 12:58