Do you have to run OSX? Having spent years working in both OSX and Linux I've found the latter is much more usable as a developer - in terms of customisation, scripted setup, flexibility, UI[1].
If you're going to the bother of changing OS, I suggest trying Linux (I use Linux Mint) as well, and see which you prefer. My setup is here:
https://github.com/duncan-bayne/mint-setup/wiki
Using a tiling window manager like StumpWM[2] is a major win as you can almost entirely give up using the mouse. Plus a programmable window manager (again, like StumpWM) gives you the flexibility to tailor your environment to suit exactly the way you work, and keep changing it as your style develops.
OSX is miles better than Windows, I'll grant you, but it's still primarily a consumer-focused OS. Be a producer, not a consumer ;)
[1] The OSX GUI is great for discoverability. But as a developer, you might benefit more from a powerful, flexible, trivially programmable GUI.
[2] https://stumpwm.github.io/ ... see https://www.youtube.com/watch?v=do0DVxy4HBc for an intro