1 2 3 4 5 6 7 8
set-proxy() { export http_proxy="http://127.0.0.1:7897" export https_proxy="http://127.0.0.1:7897" } unset-proxy() { unset http_proxy https_proxy }