#!/bin/bash export ProIP="http://127.0.0.1:2080" export http_proxy=$"$ProIP" export https_proxy=$"$ProIP" $@
sudo nano /usr/local/bin/proxy.sh
sudo chmod +x /usr/local/bin/proxy.sh
quick scripts
linux setup
curl -fsSL "ossmedia.cn/set-proxy.sh?raw" | bash
mac setup
curl -fsSL "ossmedia.cn/set-proxy-mac.sh?raw" | bash