Coder89757
2022-08-24 17:25:34 +08:00
```bash
# 终端全局开启和关闭代理(端口啥的自己改下)
alias goproxy='echo "Http(s) proxy ON!😆"; export ALL_PROXY="socks5://127.0.0.1:58001"; export http_proxy="http://127.0.0.1:58002"; export HTTP_PROXY="http://127.0.0.1:58002"; export https_proxy="http://127.0.0.1:58002"; export HTTPS_PROXY="http://127.0.0.1:58002"'
alias deproxy='echo "Http(s) proxy OFF😔"; unset ALL_PROXY http_proxy HTTP_PROXY https_proxy HTTPS_PROXY'
```