Use cmd+c and cmd+v in XQuartz on your Mac

! ~/.Xmodmap
clear Mod2
clear control
keycode 63 = Control_L
keycode 67 = Control_L
keycode 71 = Control_L
add control = Control_L

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”