2

I just bought a new Mac and I copied my .profile settings onto the new Mac, which enabled different colors for folders and documents.

export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagabeb

But on my old Mac output from ping used to be colorful, and I've no idea why it is colorful. I cannot replicate the same behavior on my new Mac, does anyone know what command/script will give the following colorful output for ping? Thank you.

enter image description here

Alex Su
  • 77

1 Answers1

4

I will answer my own question here, it is grc, which can be installed from homebrew.

brew install grc
source "`brew --prefix`/etc/grc.bashrc"

source: https://superuser.com/a/960065/525673

Alex Su
  • 77