Auto-change proxy in Mac OS terminal per location

While almost all GUI tools on macOS respect the global proxy settings per Location, the terminal does not. As a developer switching between corporate and non-proxied networks, this is a big pain. Fortunately, I found a solution to automatically switch proxy settings when you change the Location setting in MacOS.

Continue reading “Auto-change proxy in Mac OS terminal per location”