How about the colored bits below the command
I’ve noticed that when I do an ‘ls’ on my own mac it tends to
be monochromatic, however, when I’m ssh-d in to a linux machine and
‘ls’ I tend to get output that colors directories, and executables
Why is this? And is there any way to get my own mac’s
output to be color coded as well?
Of course there is!
~/.bash_profile and add the following two lines:
Save, exit, log out, log in, and there you are!
Update: For tcsh users, I was able to get the same effect putting the following in
setenv CLICOLOR "1"
setenv LSCOLORS "ExFxCxDxBxegedabagacad"
For iTerm users, add the following to
alias ls='ls -G'
alias ll='ls -hl'