为终端配置代理

Zshrc

1export http_proxy=http://127.0.0.1:1080
2export https_proxy=http://127.0.0.1:1080
3
4export http_proxy_user=user
5export http_proxy_pass=pass
6
7export https_proxy_user=user
8export https_proxy_pass=pass