Replace macos terminal utilties with GNU Core utilities
These instructions are specific to fish shell ( Pls see references for bash)
- Install coreutils using homebrew
brew install coreutils
- Edit the fish config (~/.config/fish/config.fish) and add the below line
set -gx PATH /opt/homebrew/opt/coreutils/libexec/gnubin $PATH # Add GNU utilities to PATH
- Verify Changes
$ which date
/opt/homebrew/opt/coreutils/libexec/gnubin/date