brew install grep
brew install findutils
After that update your .bashrc
or .zshrc
with following to setup the paths correctly.
# .bashrc/.zshrc
export PATH="/usr/local/opt/findutils/libexec/gnubin:$PATH"
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
That's all!
Top comments (0)