TL;DR:
sudo launchctl config user path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Perhaps homebrew should do this for you?
man path_helper
TL;DR:
Perhaps homebrew should do this for you?
man path_helper