From the terminal open the following file (create if it don't exist) in home directory with your favorite text editor (vi should work fine): "~/.bash_profile"
Add the following lines:
export TERM=xterm-color alias ls='ls -G' alias ll='ls -hl' |
Your 'ls' command should now display some color like this:
1 comment:
I am not very familiar with MAC. I worked on Mac only twice or thrice but I like it. I like your idea of to color code Mac terminal. This is a good practice. I am going to try it when I work next time on Mac. I'll surely share my experience of doing that with you.
Post a Comment