Enable Color Highlighting for Ls Command in Mac OS X Terminal

Because macOS now uses Zsh instead of Bash, we have to modify the ~/.zshrc file.

echo 'export CLICOLOR=1' >> ~/.zshrc
echo 'alias ls="ls -G"' >> ~/.zshrc
echo 'alias ll="ls -lG"' >> ~/.zshrc

We could test it with ls ll