Removing the builtin command-line utilities from PATH, zsh

Add the following to your path to replace the OS X tools with Homebrew Coreutils:

$(brew --prefix coreutils)/libexec/gnubin

Per zsh syntax…

path=($(brew --prefix coreutils)/libexec/gnubin $path)

First, you don't want to remove the any of the command line tools that apple provides unless you want an unstable / unusable system. However in traditional Unix/Linux fashion you can set up your path statement to check /usr/local/bin first, thus utilities installed there (default for homebrew) will be used before /usr/bin (or /bin). The remaining issue is in shell scripts - you must be explicit since they may ignore your $PATH.